![]() ![]() Matcher matcher = pattern.matcher(inputStr) Step 2: Allocate a matching engine for the regex pattern bind with the input string ![]() String inputStr = "." // Input for matching, any CharSequence such as String, StringBuffer, StringBuilder, CharBuffer // Step 1: Compile a Regex String into a Pattern object : an engine that performs matching operations on an input CharSequence (such as String, StringBuffer, StringBuilder, CharBuffer, Segment) by interpreting a pattern.You can get a Pattern object via static method pile(String regexStr). ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |