Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

special characters problem

807589Jun 24 2008 — edited Jun 24 2008
Pattern p = Pattern.compile("\032");
Matcher m = p.matcher("");

java.util.regex.Matcher;
java.util.regex.Pattern;

I went through api doc but not able to understand. Could you plz explain the pattern meaning of compile("\032") ?? Whether it is simply thrity two
or it has some meaning of octagonal or hexagonal character values ?? For which pattern it will search ?? I believe that code is for special
characters and not for simply thirty two. Plz advise. Similarly could you plz explain the meaning of matcher("") ??

thanks
kumar
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 22 2008
Added on Jun 24 2008
2 comments
240 views