summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorNalin Dahyabhai <nalin@redhat.com>2012-01-24 12:29:09 -0500
committerNalin Dahyabhai <nalin@redhat.com>2012-01-24 12:29:09 -0500
commit516eb50a45ac8debd53e14fb28dc38ecef1be2ee (patch)
tree1d58c5ec52bec8e9a0aec8ef7dba716b9d974858 /doc
parentc83ccc440299a2d063fc7f5289d1ed459d26231d (diff)
downloadslapi-nis-516eb50a45ac8debd53e14fb28dc38ecef1be2ee.tar.gz
slapi-nis-516eb50a45ac8debd53e14fb28dc38ecef1be2ee.tar.xz
slapi-nis-516eb50a45ac8debd53e14fb28dc38ecef1be2ee.zip
- add multiple-result capable versions of match/regmatch/regsub
Diffstat (limited to 'doc')
-rw-r--r--doc/format-specifiers.txt35
1 files changed, 35 insertions, 0 deletions
diff --git a/doc/format-specifiers.txt b/doc/format-specifiers.txt
index b9a0490..91c7b9c 100644
--- a/doc/format-specifiers.txt
+++ b/doc/format-specifiers.txt
@@ -92,6 +92,13 @@ And here's how it evaluates out:
%match("%{member}","e*","jim") -> jim
%match("%{member}","*","%{cn}") -> group
+=== mmatch ===
+
+ mmatch(''EXPRESSION'',''PATTERN''])
+
+Similar to match, except that any number of matching values may be found
+and returned.
+
=== regmatch ===
regmatch(''EXPRESSION'',''PATTERN''[,''DEFAULT''])
@@ -123,6 +130,20 @@ And here's how it evaluates out:
Exactly the same as regmatch, except that pattern matching is performed in a
case-insensitive manner.
+=== mregmatch ===
+
+ mregmatch(''EXPRESSION'',''PATTERN''])
+
+Similar to regmatch, except that any number of matching values may be found
+and returned.
+
+=== mregmatchi ===
+
+ mregmatchi(''EXPRESSION'',''PATTERN''])
+
+Exactly the same as mregmatch, except that pattern matching is performed in
+a case-insensitive manner.
+
=== regsub ===
regsub(''EXPRESSION'',''PATTERN'',''TEMPLATE''[,''DEFAULT''])
@@ -160,6 +181,20 @@ And here's how it evaluates out:
Exactly the same as regsub, except that pattern matching is performed in a
case-insensitive manner.
+=== mregsub ===
+
+ mregsub(''EXPRESSION'',''PATTERN'',''TEMPLATE'')
+
+Similar to regsub, except that any number of matching values may be found,
+processed, and returned.
+
+=== regsubi ===
+
+ mregsubi(''EXPRESSION'',''PATTERN'',''TEMPLATE'')
+
+Exactly the same as regsubi, except that pattern matching is performed in a
+case-insensitive manner.
+
=== deref ===
deref(''THISATTRIBUTE'',''THATATTRIBUTE'')