withif ($line =~ m/^\s*terminal\s=\s"([^"]+)"\s*$/) { $line =~ s/$1/$change/; }
$line =~ s/^(\s*terminal\s=\s")([^"]+)("\s*)$/$1$change$3/;
In reply to Re: Regex help/ Lua parse
by grizzley
in thread Regex help/ Lua parse
by marquezc329
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |