mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-27 04:06:51 +00:00
Add a misc regexp file for dump grepping.
This commit is contained in:
parent
14f40aa7d5
commit
e3deb304db
Notes:
Gabriel Wicke
2012-02-29 11:07:17 +00:00
4
tests/parser/dumpGrepPatterns/misc.txt
Normal file
4
tests/parser/dumpGrepPatterns/misc.txt
Normal file
|
@ -0,0 +1,4 @@
|
|||
# A collection of misc interesting regexps
|
||||
|
||||
# Multi-line ISBN links (https://bugzilla.wikimedia.org/show_bug.cgi?id=29025)
|
||||
(?:(?:RFC|PMID)[ \t\n\r\f]*[\n\f\r]+[ \t\n\r\f]*([0-9]+)|ISBN[ \t\n\r\f]*[\n\f\r]+[ \t\n\r\f]*(\b(?:97[89][ -]?)?(?:[0-9][ -]?){9}[0-9Xx]\b))
|
Loading…
Reference in a new issue