Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
rash grammar fix
--- rash-html.rng 2015-03-07 02:32:38.000000000 +0900
+++ rash-html-fixed.rng 2015-03-08 13:39:07.000000000 +0900
@@ -14,7 +14,7 @@
Under the following terms:
* Attribution - You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
+<grammar ns=""
@@ -27,8 +27,8 @@
<element name="html">
<attribute name="prefix">
<data type="string">
- <param name="pattern">.*schema:\s+*</param>
- <param name="pattern">.*prism:\s+*</param>
+ <param name="pattern">[\s\S]*schema:\s+[\s\S]*</param>
+ <param name="pattern">[\s\S]*prism:\s+[\s\S]*</param>
<ref name="attributes_html_generic" />
@@ -895,4 +895,4 @@
<ref name="attributes_rdfa_macro" />
<!-- /END Content Models -->
\ No newline at end of file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.