diff src/luan/modules/String.luan @ 1715:ad44e849c60c

add String.regex_compile
author Franklin Schmidt <fschmidt@gmail.com>
date Sat, 23 Jul 2022 21:53:04 -0600
parents f7e2df85fc0a
children b82767112d8e
line wrap: on
line diff
--- a/src/luan/modules/String.luan	Mon Jul 18 23:49:47 2022 -0600
+++ b/src/luan/modules/String.luan	Sat Jul 23 21:53:04 2022 -0600
@@ -14,6 +14,7 @@
 String.lower = StringLuan.lower
 String.match = StringLuan.match
 String.matches = StringLuan.matches
+String.regex_compile = Pattern.compile
 String.regex_quote = Pattern.quote
 String.rep = StringLuan.rep
 String.reverse = StringLuan.reverse