-
Notifications
You must be signed in to change notification settings - Fork 235
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Re-enable dollar ($) line anchor in regular expressions in find mode (#…
…5289) * WIP: dollar anchor support Signed-off-by: Navin Kumar <navink@nvidia.com> * Solved issue with anchor in character class (treat as literal $) Signed-off-by: Navin Kumar <navink@nvidia.com> * WIP: more dollar anchor support, a few more cases to tidy up Signed-off-by: Navin Kumar <navink@nvidia.com> * Remove next parameter and fix style issues Signed-off-by: Navin Kumar <navink@nvidia.com> * Handle most edge cases with line anchor $ Signed-off-by: Navin Kumar <navink@nvidia.com> * Finish handling last few edge cases regarding carriage return vs other line termination characters Signed-off-by: Navin Kumar <navink@nvidia.com> * Disable one particular edge case as we don't have the underlying cudf support to transpile. Also, add more comments Signed-off-by: Navin Kumar <navink@nvidia.com> * forgot to add these examples to comments Signed-off-by: Navin Kumar <navink@nvidia.com> * add tests including form feed \f which is not technically a line terminator to test whitespace around a line anchor Signed-off-by: Navin Kumar <navink@nvidia.com> * fix additional regular expression tests that now run on GPU Signed-off-by: Navin Kumar <navink@nvidia.com>
- Loading branch information
1 parent
785b4ac
commit cc3af4b
Showing
3 changed files
with
151 additions
and
22 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