openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #14771
Re: [Merge] lp:~phill-ridout/openlp/bug952533 into lp:openlp
> 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.
References