From 501b9236450bc1f38d3daf9d9f0dc60b72299d6c Mon Sep 17 00:00:00 2001 From: Alvaro Videla Date: Mon, 21 Dec 2009 22:35:56 +0800 Subject: Modify rb:grep/1 to grep reports using the re module --- lib/sasl/doc/src/rb.xml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'lib/sasl/doc') 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 @@ grep(RegExp) Search the reports for a regular expression - RegExp = string() + RegExp = string() | {string, Options} | mp(), {mp(), Options}

All reports containing the regular expression RegExp are printed.

-

RegExp is a string containing the regular - expression. Refer to the module regexp in the STDLIB - reference manual - for a definition of valid regular expressions. They are - essentially the same as the UNIX command egrep. +

RegExp 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 re and specially the function re:run/3 + for a definition of valid regular expressions and options.

-- cgit v1.2.3