M
Mark Volkmann
On page 71 of Pickaxe 2, discussing character classes, it says "The
significance of special regular expression characters (including +) is
turned off inside the brackets."
Why is this a valid regular expression (+ not the first character in
the character class)
%r{^[-+*/]$}
but this isn't? (+ is the first character in the character class)
%r{^[+-*/]$}
--=20
R. Mark Volkmann
Partner, Object Computing, Inc.
significance of special regular expression characters (including +) is
turned off inside the brackets."
Why is this a valid regular expression (+ not the first character in
the character class)
%r{^[-+*/]$}
but this isn't? (+ is the first character in the character class)
%r{^[+-*/]$}
--=20
R. Mark Volkmann
Partner, Object Computing, Inc.