From 229d0d8ca88bc344bed89e46541b325c1d267996 Mon Sep 17 00:00:00 2001
From: Hans Bolinder Opaque datatype containing a compiled regular expression.
+ The mp() is guaranteed to be a tuple() having the atom
're_pattern' as its first element, to allow for matching in
guards. The arity of the tuple() or the content of the other fields
- may change in future releases.
- iodata() = iolist() | binary()
- iolist() = [char() | binary() | iolist()]
- - a binary is allowed as the tail of the list
-
- unicode_binary() = binary() with characters encoded in UTF-8 coding standard
- unicode_char() = integer() representing a valid unicode codepoint
-
- chardata() = charlist() | unicode_binary()
-
- charlist() = [unicode_char() | unicode_binary() | charlist()]
- - a unicode_binary is allowed as the tail of the list
-
-
- mp() = Opaque datatype containing a compiled regular expression.
- - The mp() is guaranteed to be a tuple() having the atom
+
-
This function compiles a regular expression with the syntax @@ -116,7 +112,7 @@ time one wants to match.
When the unicode option is given, the regular expression should be given as a valid unicode
The options have the following meanings:
+The same as
If the regular expression is previously compiled, the option
list can only contain the options
The same as
The same as
Replaces the matched part of the
Replaces the matched part of the
The permissible options are the same as for
As in the
The replacement string can contain the special character @@ -565,34 +547,17 @@ This option makes it possible to include comments inside complicated patterns. N
The same as
The same as
This function splits the input into parts by finding tokens according to the regular expression supplied.
@@ -602,10 +567,10 @@ This option makes it possible to include comments inside complicated patterns. N of the string is removed from the output.As in the
The result is given as a list of "strings", the @@ -722,7 +687,7 @@ This option makes it possible to include comments inside complicated patterns. N
Summary of options not previously described for the
Specifies how the parts of the original string are presented in the result list. The possible types are: