Another EditPad Pro thing - Regex in Python to find matches in csv rows
In A forum related to EditPad Pro a guy did ask for help with a Python issue he had. He told that he better wanted to do a Regexp-search instead of a fields search. But in real he accepted a fields search solution. So why he did ask for a Regexp solution? If he wanted to get a RE solution he first should read the CSV not as fields of records but simply as lines.
On the other hand he is mixing RE quantifiers. Once he writes {0,6} which means zero or more times which he mixes up with the optional quantifier question mark "?". So eighter he could better write {1,6}? or simply omit the question mark (optional) quantifier and write {0,6} without "?". This would have cleared the situation and both bring the same result. You can check it with EditPad Pro.
The question and the answers in short: bit.ly/32vuVZu
Labels: capturinggroup, csv, editpad, editpadpro, noncapturinggroup, perl, python, regex, regexp, text