$pattern = "foobar"; if ( /$pattern/i ) { } # equivalent to the more flexible form of $pattern = "(?i)foobar"; if ( /$pattern/ ) { }
In reply to Re: qr and substitution
by Roger
in thread qr and substitution
by jplindstrom
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |