From f94ff4fb58b9db3926ce0fea2c0fb4b18b1823ca Mon Sep 17 00:00:00 2001 From: Hans Bolinder Date: Wed, 3 Mar 2010 09:44:34 +0000 Subject: OTP-8472 tools: xref: re/regexp Xref has been updated to use the re module instead of the deprecated regexp module. --- lib/tools/doc/src/xref.xml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'lib/tools/doc/src/xref.xml') diff --git a/lib/tools/doc/src/xref.xml b/lib/tools/doc/src/xref.xml index 407a7392ad..75ffa25311 100644 --- a/lib/tools/doc/src/xref.xml +++ b/lib/tools/doc/src/xref.xml @@ -4,7 +4,7 @@
- 20002009 + 20002010 Ericsson AB. All Rights Reserved. @@ -13,12 +13,12 @@ compliance with the License. You should have received a copy of the Erlang Public License along with this software. If not, it can be retrieved online at http://www.erlang.org/. - + Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License. - + xref @@ -239,7 +239,7 @@ represented by RegArity ::= RegString | Number | _ | -1 RegAtom ::= RegString | Atom | _ RegString ::= - a regular expression, as described in the - regexp module, enclosed in double quotes - + re module, enclosed in double quotes - Type ::= Fun | Mod | App | Rel Function ::= Atom Application ::= Atom @@ -264,8 +264,7 @@ represented by Assigning a type to a list or tuple of Constant is equivalent to assigning the type to each Constant.

-

-Regular expressions are used as a +

Regular expressions are used as a means to select some of the vertices of a graph. A RegExpr consisting of a RegString and a type - an example is "xref_.*" : Mod - is interpreted as those @@ -1546,8 +1545,11 @@ Evaluates a predefined analysis.

- See Also -

beam_lib(3), digraph(3), digraph_utils(3), regexp(3), + See Also

+ beam_lib(3), + digraph(3), + digraph_utils(3), + re(3), TOOLS User's Guide

-- cgit v1.2.3