[TriPython] Regular Expressions
Chris Calloway
cbc at unc.edu
Wed Nov 9 10:47:48 EST 2016
Some observations to supplement the fine suggestions already put forward
by the TriPython hive mind:
a) If you use an online regex tester with a Python search patter, be
sure the tester supports Python re like this one:
https://regex101.com/
Many of the online testers are set up to use PCRE (Perl) by default.
b) See Rex Dwyer's fine presentation to TriPython about the new regex
extentions:
https://github.com/rexdwyer/splitsville
c) When talking about text, please be sure to always specify whether
Python 2 or Python 3.
d) If you can get your hands on the *first edition* of the O'Reilly
regex book, about half of it is Python. Later editions entirely omit
Python re.
--
Sincerely,
Chris Calloway, Applications Analyst
UNC Renaissance Computing Institute
100 Europa Drive, Suite 540, Chapel Hill, NC 27517
(919) 599-3530
More information about the TriZPUG
mailing list