diff options
author | Karl Williamson <public@khwilliamson.com> | 2011-04-01 22:01:25 -0600 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2011-04-01 22:21:43 -0600 |
commit | b33bbe436e8060bcee6f2a8d80730bbc37559806 (patch) | |
tree | 3bff7f6e07856e931a5c5af8dbb07d3644530638 /pod/perlreref.pod | |
parent | c0331f4216be1694777ceb04d36e300210e71ef9 (diff) | |
download | perl-b33bbe436e8060bcee6f2a8d80730bbc37559806.tar.gz |
perlreref: Update for 5.14 changes
Diffstat (limited to 'pod/perlreref.pod')
-rw-r--r-- | pod/perlreref.pod | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/pod/perlreref.pod b/pod/perlreref.pod index efae00c693..277b888853 100644 --- a/pod/perlreref.pod +++ b/pod/perlreref.pod @@ -21,7 +21,7 @@ false if the match succeeds, and true if it fails. $var !~ /foo/; -C<m/pattern/msixpogc> searches a string for a pattern match, +C<m/pattern/msixpogcdual> searches a string for a pattern match, applying the given options. m Multiline mode - ^ and $ match internal lines @@ -33,17 +33,23 @@ applying the given options. o compile pattern Once g Global - all occurrences c don't reset pos on failed matches when using /g + a restrict \d, \s, \w and [:posix:] to match ASCII only + aa (two a's) also /i matches exclude ASCII/non-ASCII + l match according to current locale + u match according to Unicode rules + d match according to native rules unless something indicates + Unicode If 'pattern' is an empty string, the last I<successfully> matched regex is used. Delimiters other than '/' may be used for both this operator and the following ones. The leading C<m> can be omitted if the delimiter is '/'. -C<qr/pattern/msixpo> lets you store a regex in a variable, +C<qr/pattern/msixpodual> lets you store a regex in a variable, or pass one around. Modifiers as for C<m//>, and are stored within the regex. -C<s/pattern/replacement/msixpogce> substitutes matches of +C<s/pattern/replacement/msixpogcedual> substitutes matches of 'pattern' with 'replacement'. Modifiers as for C<m//>, with two additions: |