friendly-id
friendly-id copied to clipboard
Performance fix - compile pattern only once and reuse
From java doc java.util.regex.Pattern.matches "If a pattern is to be used multiple times, compiling it once and reusing it will be more efficient than invoking this method each time."