Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- %s!\(\d \)\(([A-Za-z0-9'\. ]*\d\d\d\d)\)!\1<phrase role="dept_and_year">\2</phrase>!gn` "tag the phrase
- %s!, \([0-9]* [A-Za-z0-9&\.]* [0-9,\*\- ]*\), \([0-9]* [A-Za-z0-9&\.]* [0-9,\*\- ]*\) <phrase!, <citation>\1</citation> <citation role="parallel_citation">\2</citation> <phrase!gn` "tag any cases already tagged with a <phrase> with <citation> and <citation role="parallel_citation">
- %s!, \([0-9]* [A-Za-z0-9\.& ]* [0-9,\- ]*\)<phrase!, <citation>\1</citation>, <phrase!gn` "tag the <citation> and with trailing pinpoint citations
- %s!\(<citation>.\{-}</phrase>\)!<bibliomisc>\1</bibliomisc>!gn` "tag citation and phrase with bibliomisc. The \{-} is important, other wise the search is too greedy
- %s!\([A-Za-z0-9'&#;]* v\. [A-Za-z0-9'\-\. ]*\),!<title role="casename">\1</title>!gn` "tag the title
- %s!\(<title role="casename">.\{-}</bibliomisc>\)!<bibliolist><bibliomixed>\1</bibliomixed></bibliolist>!gn` "tag the whole citation
Add Comment
Please, Sign In to add comment