summary refs log tree commit diff stats
path: root/README.asciidoc
diff options
context:
space:
mode:
Diffstat (limited to 'README.asciidoc')
-rw-r--r--README.asciidoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.asciidoc b/README.asciidoc
index 54afe8dcf..38adab639 100644
--- a/README.asciidoc
+++ b/README.asciidoc
@@ -108,7 +108,7 @@ as a key.
 === Pattern
 
 Represents the pattern that things are matched against, constructed with
-`initRegex(string)` or `re(string)`. Examples: `re"foo"`, `re(r"foo # comment",
+`re(string, string)`. Examples: `re"foo"`, `re(r"foo # comment",
 "x<anycrlf>")`. 
 
 `pattern: string` :: the string that was used to create the pattern.