Hello,
On Freebsd 14.1-Release, I tried expr "Hello 7.1" : '.* \([.0-9]\+\)'
which returns empty string, while \+ replaced by * returns 7.1.
The man page says expressions should be basic regular expression, and I found that \+ is. Is it a bug? A mistakes I did? Thanks for your help.
so this script can alter the url to data64 encoding by matching in css file background-image: url(afdsf.png).
some contribute this:
echo 'background-image: url("../images/doesntmatter/imgDoesNotMatter.png");' | sed -r 's,background-image\s*:\s*url\("(.+)"\);,\1,'...
Hello,
I admit, I am not proficient with regex. I'm trying to match a pattern taken from the output of reformime. (see below). I am not having much luck. When I can get it to work, then it matches everything. I think this is due to the working pattern matching the longer pattern.
Sample...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.