[TEXT-156] Fix the RegexTokenizer to use a static Pattern (original) (raw)

Log inSkip to main contentSkip to sidebar

ASF Jira

Uploaded image for project: 'Commons Text'

  1. Commons Text
  2. TEXT-156

XMLWordPrintableJSON

Details

Description

Use of a static pattern avoids the compile step for each invocation. The matcher created from the pattern contains all state so the pattern can be used across threads.

Also:

Attachments

Activity

People

Votes:

0 Vote for this issue

Watchers:

1 Start watching this issue

Dates

Created:

07/Mar/19 23:08

Updated:

08/Mar/19 00:13

Resolved:

08/Mar/19 00:13

Time Tracking