Skip to content

Commit 406ecd8

Browse files
committed
Fix crash, bump to v0.3.1
1 parent 806b315 commit 406ecd8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
unitytranslate_version = 0.3.1
1+
unitytranslate_version = 0.3.2
22

33
# This isn't actually used in the download process, however it's used for the sake of caching the downloaded files.
44
# https://github.com/OpenNMT/CTranslate2/blob/master/python/ctranslate2/version.py

native/src/bpe.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ impl Default for BPEConstants {
142142
).as_str()).unwrap(),
143143

144144
IS_CURRENCY_SYMBOL: Regex::new(
145-
format!(r"^[{}\(\[\{{\¿\¡]+$", IS_SC).as_str()
145+
format!(r"^[({}\[{{¿¡]+$", IS_SC).as_str()
146146
).unwrap(),
147147
IS_ENGLISH_CONTRACTION: Regex::new(
148148
format!(r"^['][{}]", IS_ALPHA).as_str()

0 commit comments

Comments
 (0)