|
692 | 692 | {\tcode{syntax_option_type} effects}
|
693 | 693 | {tab:re:syntaxoption}
|
694 | 694 | %
|
695 |
| -icase & |
| 695 | +\tcode{icase} & |
696 | 696 | Specifies that matching of regular expressions against a character
|
697 | 697 | container sequence shall be performed without regard to case.
|
698 | 698 | \indexlibrary{\idxcode{syntax_option_type}!\idxcode{icase}}%
|
699 | 699 | \\ \rowsep
|
700 | 700 | %
|
701 |
| -nosubs & |
| 701 | +\tcode{nosubs} & |
702 | 702 | Specifies that no sub-expressions shall be considered to be marked, so that
|
703 | 703 | when a regular expression is matched against a
|
704 | 704 | character container sequence, no sub-expression matches shall be
|
705 | 705 | stored in the supplied \tcode{match_results} structure.
|
706 | 706 | \indexlibrary{\idxcode{syntax_option_type}!\idxcode{nosubs}}%
|
707 | 707 | \\ \rowsep
|
708 | 708 | %
|
709 |
| -optimize & |
| 709 | +\tcode{optimize} & |
710 | 710 | Specifies that the regular expression engine should pay more attention
|
711 | 711 | to the speed with which regular expressions are matched, and less to
|
712 | 712 | the speed with which regular expression objects are
|
|
715 | 715 | \indexlibrary{\idxcode{syntax_option_type}!\idxcode{optimize}}%
|
716 | 716 | \\ \rowsep
|
717 | 717 | %
|
718 |
| -collate & |
| 718 | +\tcode{collate} & |
719 | 719 | Specifies that character ranges of the form \tcode{"[a-b]"} shall be locale
|
720 | 720 | sensitive.
|
721 | 721 | \indexlibrary{\idxcode{syntax_option_type}!\idxcode{collate}}%
|
722 | 722 | \indextext{locale}%
|
723 | 723 | \\ \rowsep
|
724 | 724 | %
|
725 |
| -ECMAScript & |
| 725 | +\tcode{ECMAScript} & |
726 | 726 | Specifies that the grammar recognized by the regular expression engine
|
727 | 727 | shall be that used by ECMAScript in ECMA-262, as modified in~\ref{re.grammar}.
|
728 | 728 | \indextext{ECMAScript}%
|
729 | 729 | \indexlibrary{\idxcode{syntax_option_type}!\idxcode{ECMAScript}}%
|
730 | 730 | \\ \rowsep
|
731 | 731 | %
|
732 |
| -basic & |
| 732 | +\tcode{basic} & |
733 | 733 | Specifies that the grammar recognized by the regular expression engine
|
734 | 734 | shall be that used by basic regular expressions in POSIX, Base Definitions and
|
735 | 735 | Headers, Section 9, Regular Expressions.
|
736 | 736 | \indextext{POSIX!regular expressions}%
|
737 | 737 | \indexlibrary{\idxcode{syntax_option_type}!\idxcode{basic}}%
|
738 | 738 | \\ \rowsep
|
739 | 739 | %
|
740 |
| -extended & |
| 740 | +\tcode{extended} & |
741 | 741 | Specifies that the grammar recognized by the regular expression engine
|
742 | 742 | shall be that used by extended regular expressions in POSIX, Base Definitions and
|
743 | 743 | Headers, Section 9, Regular Expressions.
|
744 | 744 | \indextext{POSIX!extended regular expressions}%
|
745 | 745 | \indexlibrary{\idxcode{syntax_option_type}!\idxcode{extended}}%
|
746 | 746 | \\ \rowsep
|
747 | 747 | %
|
748 |
| -awk & |
| 748 | +\tcode{awk} & |
749 | 749 | Specifies that the grammar recognized by the regular expression engine
|
750 | 750 | shall be that used by the utility awk in POSIX.
|
751 | 751 | \indextext{\idxcode{awk}}%
|
752 | 752 | \indexlibrary{\idxcode{syntax_option_type}!\idxcode{awk}}%
|
753 | 753 | \\ \rowsep
|
754 | 754 | %
|
755 |
| -grep & |
| 755 | +\tcode{grep} & |
756 | 756 | Specifies that the grammar recognized by the regular expression engine
|
757 | 757 | shall be that used by the utility grep in POSIX.
|
758 | 758 | \indextext{\idxcode{grep}}%
|
759 | 759 | \indexlibrary{\idxcode{syntax_option_type}!\idxcode{grep}}%
|
760 | 760 | \\ \rowsep
|
761 | 761 | %
|
762 |
| -egrep & |
| 762 | +\tcode{egrep} & |
763 | 763 | Specifies that the grammar recognized by the regular expression engine
|
764 | 764 | shall be that used by the utility grep when given the -E
|
765 | 765 | option in POSIX.
|
|
825 | 825 | {tab:re:matchflag}
|
826 | 826 | %
|
827 | 827 | \indexlibrary{\idxcode{match_not_bol}}%
|
828 |
| -match_not_bol & |
| 828 | +\tcode{match_not_bol} & |
829 | 829 | The first character in the sequence \range{first}{last} shall be treated
|
830 | 830 | as though it is not at the beginning of a line, so the character
|
831 | 831 | \verb|^| in the regular expression shall not match \range{first}{first}.
|
832 | 832 | \\ \rowsep
|
833 | 833 | %
|
834 | 834 | \indexlibrary{\idxcode{match_not_eol}}%
|
835 |
| -match_not_eol & |
| 835 | +\tcode{match_not_eol} & |
836 | 836 | The last character in the sequence \range{first}{last} shall be treated
|
837 | 837 | as though it is not at the end of a line, so the character
|
838 | 838 | \verb|"$"| in the regular expression shall not match \range{last}{last}.
|
839 | 839 | \\ \rowsep
|
840 | 840 | %
|
841 | 841 | \indexlibrary{\idxcode{match_not_bow}}%
|
842 |
| -match_not_bow & |
| 842 | +\tcode{match_not_bow} & |
843 | 843 | The expression \verb|"\\b"| shall not match the
|
844 | 844 | sub-sequence \range{first}{first}.
|
845 | 845 | \\ \rowsep
|
846 | 846 | %
|
847 | 847 | \indexlibrary{\idxcode{match_not_eow}}%
|
848 |
| -match_not_eow & |
| 848 | +\tcode{match_not_eow} & |
849 | 849 | The expression \verb|"\\b"| shall not match the
|
850 | 850 | sub-sequence \range{last}{last}.
|
851 | 851 | \\ \rowsep
|
852 | 852 | %
|
853 | 853 | \indexlibrary{\idxcode{match_any}}%
|
854 |
| -match_any & |
| 854 | +\tcode{match_any} & |
855 | 855 | If more than one match is possible then any match is an
|
856 | 856 | acceptable result.
|
857 | 857 | \\ \rowsep
|
858 | 858 | %
|
859 | 859 | \indexlibrary{\idxcode{match_not_null}}%
|
860 |
| -match_not_null & |
| 860 | +\tcode{match_not_null} & |
861 | 861 | The expression shall not match an empty
|
862 | 862 | sequence.
|
863 | 863 | \\ \rowsep
|
864 | 864 | %
|
865 | 865 | \indexlibrary{\idxcode{match_continuous}}%
|
866 |
| -match_continuous & |
| 866 | +\tcode{match_continuous} & |
867 | 867 | The expression shall only match a sub-sequence that begins at
|
868 | 868 | \tcode{first}.
|
869 | 869 | \\ \rowsep
|
870 | 870 | %
|
871 | 871 | \indexlibrary{\idxcode{match_prev_avail}}%
|
872 |
| -match_prev_avail & |
| 872 | +\tcode{match_prev_avail} & |
873 | 873 | \verb!--first! is a valid iterator position. When this flag is
|
874 | 874 | set the flags match_not_bol and match_not_bow shall be ignored by the
|
875 | 875 | regular expression algorithms~\ref{re.alg} and iterators~\ref{re.iter}.
|
876 | 876 | \\ \rowsep
|
877 | 877 | %
|
878 | 878 | \indexlibrary{\idxcode{format_default}}%
|
879 |
| -format_default & |
| 879 | +\tcode{format_default} & |
880 | 880 | When a regular expression match is to be replaced by a
|
881 | 881 | new string, the new string shall be constructed using the rules used by
|
882 | 882 | the ECMAScript replace function in ECMA-262,
|
|
888 | 888 | \\ \rowsep
|
889 | 889 | %
|
890 | 890 | \indexlibrary{\idxcode{format_sed}}%
|
891 |
| -format_sed & |
| 891 | +\tcode{format_sed} & |
892 | 892 | When a regular expression match is to be replaced by a
|
893 | 893 | new string, the new string shall be constructed using the rules used by
|
894 | 894 | the sed utility in POSIX.
|
895 | 895 | \\ \rowsep
|
896 | 896 | %
|
897 | 897 | \indexlibrary{\idxcode{format_no_copy}}%
|
898 |
| -format_no_copy & |
| 898 | +\tcode{format_no_copy} & |
899 | 899 | During a search and replace operation, sections of
|
900 | 900 | the character container sequence being searched that do not match the
|
901 | 901 | regular expression shall not be copied to the output string. \\ \rowsep
|
902 | 902 | %
|
903 | 903 | \indexlibrary{\idxcode{format_first_only}}%
|
904 |
| -format_first_only & |
| 904 | +\tcode{format_first_only} & |
905 | 905 | When specified during a search and replace operation, only the
|
906 | 906 | first occurrence of the regular expression shall be replaced.
|
907 | 907 | \\
|
|
0 commit comments