From b5df366f20e0e734686fb2bf01adff065e0d70da Mon Sep 17 00:00:00 2001 From: Dmitry Mikhirev Date: Sat, 15 Nov 2014 11:39:47 +0300 Subject: added `i' option --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index a8cc309..4cf310a 100644 --- a/README.md +++ b/README.md @@ -64,13 +64,14 @@ Options `pcre_find` can take optional third argument consisting of one ore more characters, each of which enables some option: - $(pcre_find PATTERN,IN,EmsuUxX8) - $(m PATTERN,IN,EmsuUxX8) + $(pcre_find PATTERN,IN,EimsuUxX8) + $(m PATTERN,IN,EimsuUxX8) The following options are implemented: - `E` enables expansion of pattern before compilation. Note that you will need to use `$$` instead `$` for matching end of line in this case; +- `i` makes search case insensitive. The same as in Perl; - `m` makes regexp treating string as multi-line, i. e. `^` and `$` will match immediately after or immediately before internal newlines. The same as in Perl; -- cgit v1.2.1