Difference between revisions of "User:Megavolt/regex"

m
added "prepare lists"
m (update category)
m (added "prepare lists")
Line 28: Line 28:
| <nowiki>\[\[(:(C|c)ategory:([A-Za-z0-9 '+-_#]+)\|([A-Za-z0-9 '+-_#]+))\]\]</nowiki>
| <nowiki>\[\[(:(C|c)ategory:([A-Za-z0-9 '+-_#]+)\|([A-Za-z0-9 '+-_#]+))\]\]</nowiki>
| <nowiki>[[$3{{#translation:}}|&lt;translate>$4&lt;/translate>]]</nowiki>
| <nowiki>[[$3{{#translation:}}|&lt;translate>$4&lt;/translate>]]</nowiki>
|-
| prepare lists
| <nowiki>(?!(\* |\*  )(''|''')(\[\[|\[))(\* |\*  )([A-Za-z0-9 '+-_#,.()]+)</nowiki>
| <nowiki>* <translate>$1</translate></nowiki>
|}
|}
translator
278

edits