diff options
author | Nalin Dahyabhai <nalin@dahyabhai.net> | 2012-01-04 16:28:53 -0500 |
---|---|---|
committer | Nalin Dahyabhai <nalin@dahyabhai.net> | 2012-01-04 16:28:53 -0500 |
commit | 0eed348faf6533eaf9eebebfd64550176e6f239a (patch) | |
tree | affa8f9c8377402c36f3b6943ea6fdb60dc76a14 /doc/format-specifiers.txt | |
parent | a4ed0d27df04d6a6e43ae6bab5888297df5a6184 (diff) | |
download | slapi-nis-0eed348faf6533eaf9eebebfd64550176e6f239a.tar.gz slapi-nis-0eed348faf6533eaf9eebebfd64550176e6f239a.tar.xz slapi-nis-0eed348faf6533eaf9eebebfd64550176e6f239a.zip |
- add regsubi/regmatchi, which are like the originals but case-insensitive
Diffstat (limited to 'doc/format-specifiers.txt')
-rw-r--r-- | doc/format-specifiers.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/format-specifiers.txt b/doc/format-specifiers.txt index 3e31aac..b9a0490 100644 --- a/doc/format-specifiers.txt +++ b/doc/format-specifiers.txt @@ -116,6 +116,13 @@ And here's how it evaluates out: %regmatch("%{member}","^e.*","jim") -> jim %regmatch("%{member}",".*","%{cn}") -> group +=== regmatchi === + + regmatchi(''EXPRESSION'',''PATTERN''[,''DEFAULT'']) + +Exactly the same as regmatch, except that pattern matching is performed in a +case-insensitive manner. + === regsub === regsub(''EXPRESSION'',''PATTERN'',''TEMPLATE''[,''DEFAULT'']) @@ -146,6 +153,13 @@ And here's how it evaluates out: %regsub("%{member}","^o","%0","jim") -> jim %regsub("%{member}","^o","%0","%{cn}") -> group +=== regsubi === + + regsubi(''EXPRESSION'',''PATTERN'',''TEMPLATE''[,''DEFAULT'']) + +Exactly the same as regsub, except that pattern matching is performed in a +case-insensitive manner. + === deref === deref(''THISATTRIBUTE'',''THATATTRIBUTE'') |