Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Refactor] Use iterative approach to evaluate Regex.simpleMatch (open…
…search-project#11060) * Remove adjacent duplicates to optimize regex before processing Signed-off-by: Craig Perkins <[email protected]> * Add tests Signed-off-by: Craig Perkins <[email protected]> * Rename to removeAdjacentDuplicates Signed-off-by: Craig Perkins <[email protected]> * Add additional test case Signed-off-by: Craig Perkins <[email protected]> * Add CHANGELOG entry Signed-off-by: Craig Perkins <[email protected]> * Throw IllegalArgumentException if input is invalid Signed-off-by: Craig Perkins <[email protected]> * Add a space Signed-off-by: Craig Perkins <[email protected]> * Change error message Signed-off-by: Craig Perkins <[email protected]> * Use iterative solution with 2 pointers Signed-off-by: Craig Perkins <[email protected]> * Remove unused method Signed-off-by: Craig Perkins <[email protected]> * add tests and changelog Signed-off-by: Stephen Crawford <[email protected]> * remove bad push Signed-off-by: Stephen Crawford <[email protected]> * Update CHANGELOG.md Signed-off-by: Stephen Crawford <[email protected]> * Update CHANGELOG.md Signed-off-by: Stephen Crawford <[email protected]> * spotless Signed-off-by: Stephen Crawford <[email protected]> * Update comment Signed-off-by: Craig Perkins <[email protected]> * re-run CI Signed-off-by: Craig Perkins <[email protected]> --------- Signed-off-by: Craig Perkins <[email protected]> Signed-off-by: Craig Perkins <[email protected]> Signed-off-by: Stephen Crawford <[email protected]> Signed-off-by: Stephen Crawford <[email protected]> Co-authored-by: Stephen Crawford <[email protected]> Co-authored-by: Stephen Crawford <[email protected]> (cherry picked from commit 61a598b)
- Loading branch information