[Feature Request] Regex support in move #15087
Labels
compiler-v2
enhancement
New feature or request
move-framework
Issues related to the Framework modules/libraries
stale-exempt
Prevents issues from being automatically marked and closed as stale
🚀 Feature Request
It would be great if allowed to do things like
regex::match(b"^https://some.website/(?<user_id>\w+)$", b"https://some.website/user1")
in move.Motivation
It's supported in almost every programming language, by default :)
Pitch
A regex module with basic functionalities like below in aptos-stdlib would be good.
better if implemented purely in Move.
Describe alternatives you've considered
Implementing in rust probably gives better performance, but can be complicated due to gas charging.
Advanced features like named group can come later in a v2.
Are you willing to open a pull request? (See CONTRIBUTING)
yes
Additional context
The text was updated successfully, but these errors were encountered: