aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorDmitry Mikhirev2015-03-06 21:55:42 +0300
committerDmitry Mikhirev2015-03-06 21:55:42 +0300
commite32303b41512e3386b83893b8331fb2d4f83be95 (patch)
tree7268e305930ab94661fec603362e1065b6fbc9e1 /README.md
parent68ff1e50c953ba421e8f266c4d9e2b690260c2c8 (diff)
downloadmake_pcre-e32303b41512e3386b83893b8331fb2d4f83be95.tar.gz
make_pcre-e32303b41512e3386b83893b8331fb2d4f83be95.tar.bz2
make_pcre-e32303b41512e3386b83893b8331fb2d4f83be95.tar.xz
make_pcre-e32303b41512e3386b83893b8331fb2d4f83be95.zip
added php-like `S' option
Diffstat (limited to 'README.md')
-rw-r--r--README.md9
1 files changed, 5 insertions, 4 deletions
diff --git a/README.md b/README.md
index 6fc02d9..09c7c31 100644
--- a/README.md
+++ b/README.md
@@ -97,10 +97,10 @@ Options
Both `pcre_find` and `pcre_subst` can take an optional argument consisting
of one ore more characters, each of which enables some option:
- $(pcre_find PATTERN,IN,EgimsuUxX8)
- $(m PATTERN,IN,EgimsuUxX8)
- $(pcre_subst PATTERN,REPLACEMENT,TEXT,EgimsuUxX8)
- $(s PATTERN,REPLACEMENT,TEXT,EgimsuUxX8)
+ $(pcre_find PATTERN,IN,ADEgimsSuUxX8)
+ $(m PATTERN,IN,ADEgimsSuUxX8)
+ $(pcre_subst PATTERN,REPLACEMENT,TEXT,ADEgimsSuUxX8)
+ $(s PATTERN,REPLACEMENT,TEXT,ADEgimsSuUxX8)
The following options are implemented:
@@ -119,6 +119,7 @@ The following options are implemented:
as in Perl;
- `s` forces `.` metacharacter to match any character including newline.
The same as in Perl;
+- `S` enables additional studying of compiled regexp. The same as in PHP;
- `u` changes the way of processing `\B`, `\b`, `\D`, `\d`, `\S`, `\s`, `\W`,
`\w` and some of the POSIX character classes forsing them to use Unicode
properties;