View RSS Feed

Java String

Java String Boundary Matchers

Rate this Entry
by , 04-26-2012 at 06:51 PM (531 Views)
Till now we were just interested in this thing that if match is present at a location in some specified string. Care hs never been taken regarding the location of match in the string, where it actually took place.

Pattern matches could be made much more precise just by making information specific along with boundary matches. Let us say, e.g, may be one of you are more keen to find out a specific word but only when it is present at start or end of line. May be you desire to be aware of the fact whether matching is being done at word boundary or at previous match’s end.

Submit "Java String Boundary Matchers" to Facebook Submit "Java String Boundary Matchers" to Digg Submit "Java String Boundary Matchers" to del.icio.us Submit "Java String Boundary Matchers" to StumbleUpon Submit "Java String Boundary Matchers" to Google

Categories
Regex

Comments