R
Rick Venter
I am trying to convert a piece of code from using perl regexes to
using java regexes.
I need some help with converting the following two PERL syntax regex's
to java syntax regex's. Can anyone please help
1. FIRST_PERL_REGEX = "/^[\\d]*$/"
2. SECOND_PERL_REGEX = "/^[\\d]*/"
(All I am trying to do in the above regex's is try to look for an
integer)
essentially I need the equivalent FIRST_JAVA_REGEX and
SECOND_JAVA_REGEX for the above.
using java regexes.
I need some help with converting the following two PERL syntax regex's
to java syntax regex's. Can anyone please help
1. FIRST_PERL_REGEX = "/^[\\d]*$/"
2. SECOND_PERL_REGEX = "/^[\\d]*/"
(All I am trying to do in the above regex's is try to look for an
integer)
essentially I need the equivalent FIRST_JAVA_REGEX and
SECOND_JAVA_REGEX for the above.