Tagged Questions
0
votes
2answers
119 views
What is the python equivalent of grep -v?
I like grep -v. I use it all the time. But I am also doing some text processing in python, and there is one crucial thing that I lack.
Usually, I use grep -v to take extraneous stuff out of text.
...
0
votes
1answer
59 views
python regex equivalent of kwrite [ ]+ and [0-9]+
I've never been good at regular expressions. When ever I read about them, I sort of get a headache, get up from my desk, and forget what I'm doing. Attention difficulties.
But when I finally started ...
2
votes
2answers
181 views
Arithmetic operations in regex
I am using gedit regex plugin (Python style regex). I would like to do some arithmetic operation on a backreference to a group.
For example:
PART 1 DATA MODELS Chapter
2 Entity-Relationship Model ...