Skip to content Skip to sidebar Skip to footer
Showing posts with the label Pcre

How Can I Use Pcre Regexes From A Python Script?

I would like to use the PCRE library, or something very similar, from Python scripts. These scripts… Read more How Can I Use Pcre Regexes From A Python Script?

How To Do An Inverse `range`, I.e. Create A Compact Range Based On A Set Of Numbers?

Python has a range method, which allows for stuff like: >>> range(1, 6) [1, 2, 3, 4, 5] W… Read more How To Do An Inverse `range`, I.e. Create A Compact Range Based On A Set Of Numbers?