Dtto as above. Readability was never a question. And if it was, then you > just doubled the regex complexity, and made the code more confusing by > turning the problem upside down, due to the limited API.
Complaining about the compact syntax makes as much sense as complaining > that `1+2` is too cryptic and should be written as `1 digitAdd: 2` (which > you can do btw); the point of compactness is that when you know what you > are doing you can save some time. > > Typing speed is pretty much the 1000th reason for a slow down, 1th is the ability to understand code, at least for me. Ruby is a more flexible and better designed language, but I would pick python any day over it which by the way beats even Pharo in readability because of its culture on how to write APIs. On the subject of your issue, this is no work around I offered, this is standard regex syntax. Exclusion and combination of matches. Nothing special. I am using regex to parse python code, in pharo, for me at least Pharo regex API rocks.