forked from opensearch-project/OpenSearch
-
Notifications
You must be signed in to change notification settings - Fork 0
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]> Signed-off-by: Shivansh Arora <[email protected]>
- Loading branch information
Showing
3 changed files
with
44 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters