When you're building a regex, it pays to be very specific about the data you're expecting. So if your example says:
# NOTE: untested /(\w+)= # key (?: # match either value: "([^"]+)" | # quoted string or... (\w+)) # non-quoted value /xg
--
F
o
x
t
r
o
t
U
n
i
f
o
r
m
Found a typo in this node? /msg me
% man 3 strfry
In reply to Re: a regex question
by FoxtrotUniform
in thread a regex question
by johnnywang
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |