in reply to regex for utf-8
The /e modifier on your substitution says that the substitute string is to be evaluated as a perl expression. The '<<' operator is 'shift left', corresponding to multiplication by a power of two. The '|' operator is 'bitwise or', not alternation. See perlop for details.
Update: The & operator is 'bitwise and'.
After Compline,
Zaxo
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: regex for utf-8
by jjohhn (Scribe) on Feb 27, 2003 at 23:30 UTC | |
by John M. Dlugosz (Monsignor) on Feb 28, 2003 at 16:20 UTC | |
by Anonymous Monk on Feb 28, 2003 at 22:46 UTC | |
by John M. Dlugosz (Monsignor) on Feb 28, 2003 at 23:01 UTC | |
by jjohhn (Scribe) on Feb 28, 2003 at 23:23 UTC | |
|