Hello Mr. Saifi,

Well I am, not aware of Boost and PCRE, as I did not get any
chance to
work with them, but the reg-ex of both perl and Java are almost
compatible. Though Java requires a little more or tweak to the
perl regex.

e.g.

for representing a 'dot' in perl we use the following regex \.

same in java requires an extra '\' to support the initial
backslash \\.

Please check out the following links, for regular-expressions in
java.

http://java.sun.com/docs/books/tutorial/essential/regex/

http://java.sun.com/j2se/1.5.0/docs/api/java/util/regex/package-summary.html

I had recently done a project of mine using regular expressions
in java
and personally speaking, I really liked the Java Reg-Ex library.

Hope this helps you,

with regards,
dhiraj

--

Hi Dhiraj:

Thanks for the info. 

The in-compatibility thing really breaks some of the reg-ex 
stuff, especially the stuff related to position of variables 
and matching parens.


thanks
Saifi.

Reply via email to