Using regular RegEx instead of Luau Patterns

Trying to use regualar typescript regex gives the error that they are unsupported: Regex literals are not supported in roblox-ts I also cant seem to find a relevant package that provides support for RegEx in roblox-ts I can't see anyone anywhere asking the same question so maybe it's obvious and I'm dumb but yea
Solution:
Message Not Public
Sign In & Join Server To View
Jump to solution
2 Replies
alihsaas
alihsaas2mo ago
you have to use luau's string patterns, you might find some implementations for regex in lua, but it is def not worth using https://create.roblox.com/docs/luau/strings#string-pattern-reference
Solution
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View

Did you find this page helpful?