I am starting regex with Emacs and cannot get the right regex.
I would like to match the line 1
and 4
in the image below, where variable-pitch
is "active" and do not match 2
and 3
where is "inactive"
so I am basically trying to say :
line with 'variable-pitch' not containing with ";" or "|"
Following this post, I switched re-builder to string
mode.
Edit : Following the different comments
- here is the text if you want to try
- i changed the the screenshot with
re-builder
actually set to string