]> gitweb.factorcode.org Git - factor.git/commitdiff
pcre: fix help-lint errors.
authorJohn Benediktsson <mrjbq7@gmail.com>
Thu, 28 Nov 2013 01:34:28 +0000 (17:34 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Thu, 28 Nov 2013 01:34:28 +0000 (17:34 -0800)
extra/pcre/pcre-docs.factor

index be46d5033787d6b6f8ccedbde2e2e1fdeb67a98c..c4d0c5f4c57e992bf24a39b4d009707a50399ee5 100644 (file)
@@ -2,7 +2,7 @@ USING: help.markup help.syntax sequences strings ;
 IN: pcre
 
 ARTICLE: "pcre" "PCRE binding"
-"The " { $vocab-link "pcre" } " vocab implements a simple binding for libpcre, enabling rich regular expression support for Factor applications."
+"The " { $vocab-link "pcre" } " vocab implements a simple binding for libpcre, enabling rich regular expression support for Factor applications." $nl
 "Precompiling and optimizing a regular expression:"
 { $subsections <compiled-pcre> }
 { $examples
@@ -14,9 +14,7 @@ ARTICLE: "pcre" "PCRE binding"
 { $notes "Regular expressions are by default utf8 and unicode aware." } ;
 
 HELP: <compiled-pcre>
-{ $values
-  { "expr" string }
-}
+{ $values { "expr" string } { "compiled-pcre" compiled-pcre } }
 { $description "Creates a precompiled regular expression object." } ;
 
 HELP: findall