Java Regular Expressions: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 18: | Line 18: | ||
Working code is available here: | Working code is available here: | ||
{{External|https://github.com/NovaOrdis/playground/tree/master/java/regex/simplest}} | |||
=Concurrent Usage Considerations= | =Concurrent Usage Considerations= | ||
{{Warn|Matcher instances are NOT thread safe, create a matcher per thread}} | {{Warn|Matcher instances are NOT thread safe, create a matcher per thread}} |
Revision as of 21:14, 29 July 2017
External
Internal
Overview
API
The general pattern for using regular expressions is the following:
Working code is available here:
Concurrent Usage Considerations
Matcher instances are NOT thread safe, create a matcher per thread