aboutsummaryrefslogtreecommitdiffstats
path: root/lib/sasl/doc/src/rb.xml
diff options
context:
space:
mode:
authorAlvaro Videla <[email protected]>2009-12-21 22:35:56 +0800
committerBjörn Gustavsson <[email protected]>2010-02-14 12:15:09 +0100
commit501b9236450bc1f38d3daf9d9f0dc60b72299d6c (patch)
tree3f2bc1d2d8ed00e0eb4e1d92846cce95402cb54e /lib/sasl/doc/src/rb.xml
parent2356f4e8c89b61b71d1afd88161b8418a47dde0b (diff)
downloadotp-501b9236450bc1f38d3daf9d9f0dc60b72299d6c.tar.gz
otp-501b9236450bc1f38d3daf9d9f0dc60b72299d6c.tar.bz2
otp-501b9236450bc1f38d3daf9d9f0dc60b72299d6c.zip
Modify rb:grep/1 to grep reports using the re module
Diffstat (limited to 'lib/sasl/doc/src/rb.xml')
-rw-r--r--lib/sasl/doc/src/rb.xml13
1 files changed, 7 insertions, 6 deletions
diff --git a/lib/sasl/doc/src/rb.xml b/lib/sasl/doc/src/rb.xml
index 5b49a7bced..810f7dca6b 100644
--- a/lib/sasl/doc/src/rb.xml
+++ b/lib/sasl/doc/src/rb.xml
@@ -46,17 +46,18 @@
<name>grep(RegExp)</name>
<fsummary>Search the reports for a regular expression</fsummary>
<type>
- <v>RegExp = string()</v>
+ <v>RegExp = string() | {string, Options} | mp(), {mp(), Options}</v>
</type>
<desc>
<p>All reports containing the regular expression <c>RegExp</c>
are printed.
</p>
- <p><c>RegExp</c> is a string containing the regular
- expression. Refer to the module <c>regexp</c> in the STDLIB
- reference manual
- for a definition of valid regular expressions. They are
- essentially the same as the UNIX command <c>egrep</c>.
+ <p><c>RegExp</c> can be a string containing the regular
+ expression; a tuple with the string and the options for
+ compilation; a compiled regular expression; a compiled
+ regular expression and the options for running it.
+ Refer to the module <c>re</c> and specially the function <c>re:run/3</c>
+ for a definition of valid regular expressions and options.
</p>
</desc>
</func>