Tech, Bureaucrats, emailconfirmed, Administrators (Semantic MediaWiki), Curators (Semantic MediaWiki), Suppressors, Administrators, threadmoderator
118,971
edits
(→Horizontal spacing (=/: :) */) |
|||
Line 86: | Line 86: | ||
This ''baasically'' does the job, though it's messy and inefficient: | This ''baasically'' does the job, though it's messy and inefficient: | ||
<pre style="background:black!important;color:white"> | <pre style="background:black!important;color:white"> | ||
python pwb.py replace -regex "\n(\*+)(\S)" "\n\1 \2" "(==+)(\S.*?\S)(==+)" "\1 \2 \3" "(=+|==|===|====) = (.*?) = (=+|==|===|====)" "\1= \2 =\3" " | python pwb.py replace -regex "\n(\*+)(\S)" "\n\1 \2" "(==+)(\S.*?\S)(==+)" "\1 \2 \3" "(=+|==|===|====) = (.*?) = (=+|==|===|====)" "\1= \2 =\3" "== =" "===" "= ==" "===" "(\*|\*+|\*\*|\*\*\*|\*\#|\*\*\#) (\*|\#|\#+|\#\#|\#\#\#|\:|\:+|\:\:|\:\:\:)(.*?)" "\1\2 \3" "\* \*" "**" "\* \#" "*#" "\# \#" "##" "\* " "* " "\# " "# " "\: " ": " -summary:"Horizontal spacing" -start:! -pt:2 | ||
</pre> | </pre> | ||
edits