> Can I do something like from openlp.core.utils import CONTROL_CHARS? Yes.
> I just thought the '| +$' was a bit more elegant than the other solution. > And anyways, I wanted to use my new found regular expression "skills" ;-) Either or, though I think using the Python method will be slightly faster. Regular expressions are great, and powerful, but slow. -- https://code.launchpad.net/~phill-ridout/openlp/bug952533/+merge/98788 Your team OpenLP Core is subscribed to branch lp:openlp. _______________________________________________ Mailing list: https://launchpad.net/~openlp-core Post to : openlp-core@lists.launchpad.net Unsubscribe : https://launchpad.net/~openlp-core More help : https://help.launchpad.net/ListHelp