Does anyone have a good beginner resource guide to regular expressions in Python? I'm used to them in java. For example, in java I have some regular expressions that look like this:
PUNC_MATCH = "[\\d\\p{Punct}]+"
PUNC_PREFIX = "^" + PUNC_MATCH
PUNC_SUFFIX = PUNC_MATCH + "$"
Basically its supposed to see punctuation at the beginning or end of a word.
But in python I can't seem to find a reference for how to do this. I don't think its the same as it is in java is it?