Match the LHS and then the equals sign, and then either a single-quoted string or a sequence of single_space-word sets.my @matches = $input =~ m/\b(\w+)\s+=( '.*?'|( \S+)+)/sg;
In reply to Re: how to find what's not there with a regex?
by davidrw
in thread how to find what's not there with a regex?
by samizdat
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |