aboutsummaryrefslogtreecommitdiff
path: root/src/gleam_stdlib.erl
diff options
context:
space:
mode:
authorinoas <mail@inoas.com>2022-10-27 21:20:27 +0000
committerGitHub <noreply@github.com>2022-10-27 22:20:27 +0100
commit93c3223e8e5d5f9ba2a4020b18bed5802c63bdff (patch)
tree964ffc8fdda2f45088273eb5463dac1782f9582e /src/gleam_stdlib.erl
parent6c9a956af844379aa8d33fa3832636b33493f776 (diff)
downloadgleam_stdlib-93c3223e8e5d5f9ba2a4020b18bed5802c63bdff.tar.gz
gleam_stdlib-93c3223e8e5d5f9ba2a4020b18bed5802c63bdff.zip
Regex use ucp flag because they use unicode flag (#357)
Diffstat (limited to 'src/gleam_stdlib.erl')
-rw-r--r--src/gleam_stdlib.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gleam_stdlib.erl b/src/gleam_stdlib.erl
index 690cc34..961d0af 100644
--- a/src/gleam_stdlib.erl
+++ b/src/gleam_stdlib.erl
@@ -184,6 +184,7 @@ compile_regex(String, Options) ->
{options, Caseless, Multiline} = Options,
OptionsList = [
unicode,
+ ucp,
Caseless andalso caseless,
Multiline andalso multiline
],