]> gitweb.factorcode.org Git - factor.git/commitdiff
html.entities: simpler re-charref.
authorJohn Benediktsson <mrjbq7@gmail.com>
Tue, 22 Apr 2014 05:35:31 +0000 (22:35 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Tue, 22 Apr 2014 05:35:31 +0000 (22:35 -0700)
extra/html/entities/entities.factor

index 6d0e615ea86cae92dd2828215252e7e87807cd3a..ef566cf440cf33a3567ec69dfedac97b7669d8f1 100644 (file)
@@ -2337,7 +2337,7 @@ CONSTANT: html5 H{
     ] if ;
 
 CONSTANT: re-charref
-R/ &(#[0-9]+;?|#[xX][0-9a-fA-F]+;?|[^\t\n\f <&#;]{1,32};?)/
+R/ &(#[0-9]+|#[xX][0-9a-fA-F]+|[^\t\n\f <&#;]{1,32});?/
 
 PRIVATE>