Nathan Wiger writes:
> $x =~ /a/; # $x is roughly equivalent to a
I've been going at high speed through this thread, but has
anyone mentioned:
m{$foo}{^baz.*bar$}i
s{$foo}{(\w+) \1}{$1}g
With the first part of m{} and s{} containing an expression.
We lose !~ there, though.
Thoughts on how to indicate negation:
* use ! as delimiter. Ugh. Special delimiters bad.
* use m!{}{}. Ugh. Mixed alnum and punctuation bad.
* use ! in front (I like this, as it's back to being normal Perl)
! m{$foo}{^baz.*bar$}i
Read as "doesn't match".
Nat
- Re: RFC 138 (v1) Eliminate =~ operator. Mark-Jason Dominus
- Re: RFC 138 (v1) Eliminate =~ operator. Steve Fink
- Re: RFC 138 (v1) Eliminate =~ operator. Larry Wall
- Re: RFC 138 (v1) Eliminate =~ operator. Steve Fink
- Re: RFC 138 (v1) Eliminate =~ operator... Jarkko Hietaniemi
- Re: RFC 138 (v1) Eliminate =~ operator... Damian Conway
- Re: RFC 138 (v1) Eliminate =~ operator. Nathan Wiger
- Re: RFC 138 (v1) Eliminate =~ operator... Steve Fink
- Re: RFC 138 (v1) Eliminate =~ ope... Nathan Wiger
- Re: RFC 138 (v1) Eliminate =~ operator... Nathan Torkington
- Re: RFC 138 (v1) Eliminate =~ ope... Nathan Wiger
- Re: RFC 138 (v1) Eliminate =~... Nathan Torkington
- Re: RFC 138 (v1) Eliminat... Tom Christiansen
- Re: RFC 138 (v1) Eliminat... Nathan Torkington
- Re: RFC 138 (v1) Eliminat... Nathan Wiger
- Re: RFC 138 (v1) Eliminate =~ operator. Mark-Jason Dominus
- Re: RFC 138 (v1) Eliminate =~ operator. Larry Wall
- Re: RFC 138 (v1) Eliminate =~ operator... Piers Cawley
- Re: RFC 138 (v1) Eliminate =~ operator. Tom Christiansen
- working mnemonic for =~ David L. Nicol
