summaryrefslogtreecommitdiffstats
path: root/doc/format-specifiers.txt
diff options
context:
space:
mode:
authorNalin Dahyabhai <nalin@dahyabhai.net>2012-01-04 16:28:53 -0500
committerNalin Dahyabhai <nalin@dahyabhai.net>2012-01-04 16:28:53 -0500
commit0eed348faf6533eaf9eebebfd64550176e6f239a (patch)
treeaffa8f9c8377402c36f3b6943ea6fdb60dc76a14 /doc/format-specifiers.txt
parenta4ed0d27df04d6a6e43ae6bab5888297df5a6184 (diff)
downloadslapi-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.txt14
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'')