Skip to content

Commit

Permalink
Add remarks and TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
cstamas committed Jun 11, 2022
1 parent b52caa8 commit 349dd80
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,12 @@ private static String[] splitAndTokenize( String pattern )
return tokens;
}

/**
* Compiles pattern string into {@link Pattern}.
*
* TODO: patterns seems NOT documented anywhere, so best we have is source below.
* TODO: patterns in some cases (3, 2 tokens) seems ambiguous, we may need to clean up the specs
*/
private static Pattern compile( String pattern )
{
if ( pattern.startsWith( "!" ) )
Expand Down

0 comments on commit 349dd80

Please sign in to comment.