-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change :regexp_function_cache_class to :regexp_function_cache
Allow it to support a proc in addition to a class name. Keep the setup_regexp_function method API backwards compatible. Switch to match? on Ruby 2.4+, which should provide significant regexp speedups. Refactor specs to always test the regexp support when running on the sqlite adapter.
- Loading branch information
1 parent
a6cc908
commit 433b937
Showing
3 changed files
with
55 additions
and
41 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