mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-09-23 02:09:06 +00:00
Merge "Remove unreachable grammar rules for 4 byte chars"
This commit is contained in:
commit
eb1a4bc788
File diff suppressed because it is too large
Load diff
|
@ -309,8 +309,6 @@ literal_uf_op = [-+*=]
|
|||
delimiter_uf_op = [\/|]
|
||||
boxchars // match only valid UTF-16 sequences
|
||||
= [-0-9a-zA-Z+*,=():\/;?.!'` \[\]\[\u0080-\ud7ff\]\[\ue000-\uffff\]]
|
||||
/ l:[\ud800-\udbff] h:[\udc00-\udfff] { return $this->text(); }
|
||||
//aboxchars = [-0-9a-zA-Z+*,=():\/;?.!'` ]
|
||||
|
||||
BOX
|
||||
= b:generic_func &{ return $this->tu->box_functions($b); } _ "{" cs:boxchars+ "}" _
|
||||
|
|
Loading…
Reference in a new issue