diff --git a/src/libraries/System.Text.RegularExpressions/gen/Resources/Strings.resx b/src/libraries/System.Text.RegularExpressions/gen/Resources/Strings.resx
index 4edd9a7dc7dbb..4f6ea8594572b 100644
--- a/src/libraries/System.Text.RegularExpressions/gen/Resources/Strings.resx
+++ b/src/libraries/System.Text.RegularExpressions/gen/Resources/Strings.resx
@@ -119,9 +119,11 @@
Invalid RegexGenerator usage
+ {Locked="RegexGenerator"}The RegexGeneratorAttribute is malformed
+ {Locked="RegexGeneratorAttribute"}Multiple RegexGeneratorAttributes were applied to the same method, but only one is allowed
@@ -161,6 +163,7 @@
Capture group numbers must be less than or equal to Int32.MaxValue.
+ {Locked="Int32.MaxValue"}Capture number cannot be zero.
@@ -188,6 +191,7 @@
Internal error in ScanRegex.
+ {Locked="ScanRegex"}Invalid group name: Group names must begin with a word character.
@@ -305,5 +309,6 @@
Regex replacements with substitutions of groups are not supported with RegexOptions.NonBacktracking.
+ {Locked="RegexOptions.NonBacktracking"}
diff --git a/src/libraries/System.Text.RegularExpressions/gen/Resources/xlf/Strings.cs.xlf b/src/libraries/System.Text.RegularExpressions/gen/Resources/xlf/Strings.cs.xlf
index 5c933786208a1..0024f148db8e0 100644
--- a/src/libraries/System.Text.RegularExpressions/gen/Resources/xlf/Strings.cs.xlf
+++ b/src/libraries/System.Text.RegularExpressions/gen/Resources/xlf/Strings.cs.xlf
@@ -109,8 +109,8 @@
- Vnitřní chyba v modulu ScanRegex.
-
+ Vnitřní chyba v modulu ScanRegex.
+ {Locked="ScanRegex"}
@@ -134,13 +134,13 @@
- Atribut RegexGeneratorAttribute je nesprávný.
-
+ Atribut RegexGeneratorAttribute je nesprávný.
+ {Locked="RegexGeneratorAttribute"}
- Neplatné použití RegexGenerator
-
+ Neplatné použití RegexGenerator
+ {Locked="RegexGenerator"}
@@ -195,7 +195,7 @@
Regex replacements with substitutions of groups are not supported with RegexOptions.NonBacktracking.
-
+ {Locked="RegexOptions.NonBacktracking"}
@@ -219,8 +219,8 @@
- Počty skupin digitalizace musí být menší nebo rovny hodnotě Int32.MaxValue.
-
+ Počty skupin digitalizace musí být menší nebo rovny hodnotě Int32.MaxValue.
+ {Locked="Int32.MaxValue"}
diff --git a/src/libraries/System.Text.RegularExpressions/gen/Resources/xlf/Strings.de.xlf b/src/libraries/System.Text.RegularExpressions/gen/Resources/xlf/Strings.de.xlf
index 821165f07545c..06d28e9880587 100644
--- a/src/libraries/System.Text.RegularExpressions/gen/Resources/xlf/Strings.de.xlf
+++ b/src/libraries/System.Text.RegularExpressions/gen/Resources/xlf/Strings.de.xlf
@@ -109,8 +109,8 @@
- Interner Fehler in ScanRegex.
-
+ Interner Fehler in ScanRegex.
+ {Locked="ScanRegex"}
@@ -134,13 +134,13 @@
- Das RegexGeneratorAttribute ist falsch formatiert.
-
+ Das RegexGeneratorAttribute ist falsch formatiert.
+ {Locked="RegexGeneratorAttribute"}
- Ungültige RegexGenerator-Verwendung
-
+ Ungültige RegexGenerator-Verwendung
+ {Locked="RegexGenerator"}
@@ -195,7 +195,7 @@
Regex replacements with substitutions of groups are not supported with RegexOptions.NonBacktracking.
-
+ {Locked="RegexOptions.NonBacktracking"}
@@ -219,8 +219,8 @@
- Erfassungsgruppennummern müssen kleiner oder gleich Int32.MaxValue sein.
-
+ Erfassungsgruppennummern müssen kleiner oder gleich Int32.MaxValue sein.
+ {Locked="Int32.MaxValue"}
diff --git a/src/libraries/System.Text.RegularExpressions/gen/Resources/xlf/Strings.es.xlf b/src/libraries/System.Text.RegularExpressions/gen/Resources/xlf/Strings.es.xlf
index f0f919acc6e5b..b3c00c8311ffd 100644
--- a/src/libraries/System.Text.RegularExpressions/gen/Resources/xlf/Strings.es.xlf
+++ b/src/libraries/System.Text.RegularExpressions/gen/Resources/xlf/Strings.es.xlf
@@ -109,8 +109,8 @@
- Error interno en ScanRegex.
-
+ Error interno en ScanRegex.
+ {Locked="ScanRegex"}
@@ -134,13 +134,13 @@
- RegexGeneratorAttribute tiene un formato incorrecto
-
+ RegexGeneratorAttribute tiene un formato incorrecto
+ {Locked="RegexGeneratorAttribute"}
- Uso de RegexGenerator no válido
-
+ Uso de RegexGenerator no válido
+ {Locked="RegexGenerator"}
@@ -195,7 +195,7 @@
Regex replacements with substitutions of groups are not supported with RegexOptions.NonBacktracking.
-
+ {Locked="RegexOptions.NonBacktracking"}
@@ -219,8 +219,8 @@
- Los números del grupo de capturas deben ser menores o iguales que Int32.MaxValue.
-
+ Los números del grupo de capturas deben ser menores o iguales que Int32.MaxValue.
+ {Locked="Int32.MaxValue"}
diff --git a/src/libraries/System.Text.RegularExpressions/gen/Resources/xlf/Strings.fr.xlf b/src/libraries/System.Text.RegularExpressions/gen/Resources/xlf/Strings.fr.xlf
index 0a9bb527192bd..74474b722c313 100644
--- a/src/libraries/System.Text.RegularExpressions/gen/Resources/xlf/Strings.fr.xlf
+++ b/src/libraries/System.Text.RegularExpressions/gen/Resources/xlf/Strings.fr.xlf
@@ -109,8 +109,8 @@
- Erreur interne dans ScanRegex.
-
+ Erreur interne dans ScanRegex.
+ {Locked="ScanRegex"}
@@ -134,13 +134,13 @@
- RegexGeneratorAttribute est malformé
-
+ RegexGeneratorAttribute est malformé
+ {Locked="RegexGeneratorAttribute"}
- Utilisation de RegexGenerator non valide
-
+ Utilisation de RegexGenerator non valide
+ {Locked="RegexGenerator"}
@@ -195,7 +195,7 @@
Regex replacements with substitutions of groups are not supported with RegexOptions.NonBacktracking.
-
+ {Locked="RegexOptions.NonBacktracking"}
@@ -219,8 +219,8 @@
- Les nombres de groupes de capture doivent être inférieurs ou égaux à Int32.MaxValue.
-
+ Les nombres de groupes de capture doivent être inférieurs ou égaux à Int32.MaxValue.
+ {Locked="Int32.MaxValue"}
diff --git a/src/libraries/System.Text.RegularExpressions/gen/Resources/xlf/Strings.it.xlf b/src/libraries/System.Text.RegularExpressions/gen/Resources/xlf/Strings.it.xlf
index 30d0b81bd4b42..c166769564370 100644
--- a/src/libraries/System.Text.RegularExpressions/gen/Resources/xlf/Strings.it.xlf
+++ b/src/libraries/System.Text.RegularExpressions/gen/Resources/xlf/Strings.it.xlf
@@ -109,8 +109,8 @@
- Errore interno in ScanRegex.
-
+ Errore interno in ScanRegex.
+ {Locked="ScanRegex"}
@@ -134,13 +134,13 @@
- RegexGeneratorAttribute non è valido
-
+ RegexGeneratorAttribute non è valido
+ {Locked="RegexGeneratorAttribute"}
- Utilizzo di RegexGenerator non valido
-
+ Utilizzo di RegexGenerator non valido
+ {Locked="RegexGenerator"}
@@ -195,7 +195,7 @@
Regex replacements with substitutions of groups are not supported with RegexOptions.NonBacktracking.
-
+ {Locked="RegexOptions.NonBacktracking"}
@@ -219,8 +219,8 @@
- I numeri del gruppo Capture devono essere minori o uguali a Int32.MaxValue.
-
+ I numeri del gruppo Capture devono essere minori o uguali a Int32.MaxValue.
+ {Locked="Int32.MaxValue"}
diff --git a/src/libraries/System.Text.RegularExpressions/gen/Resources/xlf/Strings.ja.xlf b/src/libraries/System.Text.RegularExpressions/gen/Resources/xlf/Strings.ja.xlf
index fe5540dc87d23..313a149eca1c0 100644
--- a/src/libraries/System.Text.RegularExpressions/gen/Resources/xlf/Strings.ja.xlf
+++ b/src/libraries/System.Text.RegularExpressions/gen/Resources/xlf/Strings.ja.xlf
@@ -109,8 +109,8 @@
- ScanRegex に内部エラーが発生しました。
-
+ ScanRegex に内部エラーが発生しました。
+ {Locked="ScanRegex"}
@@ -134,13 +134,13 @@
- RegexGeneratorAttribute の形式に誤りがあります
-
+ RegexGeneratorAttribute の形式に誤りがあります
+ {Locked="RegexGeneratorAttribute"}
- RegexGenerator の使用法が無効です
-
+ RegexGenerator の使用法が無効です
+ {Locked="RegexGenerator"}
@@ -195,7 +195,7 @@
Regex replacements with substitutions of groups are not supported with RegexOptions.NonBacktracking.
-
+ {Locked="RegexOptions.NonBacktracking"}
@@ -219,8 +219,8 @@
- キャプチャ グループ数は、Int32.MaxValue 以下でなければなりません。
-
+ キャプチャ グループ数は、Int32.MaxValue 以下でなければなりません。
+ {Locked="Int32.MaxValue"}
diff --git a/src/libraries/System.Text.RegularExpressions/gen/Resources/xlf/Strings.ko.xlf b/src/libraries/System.Text.RegularExpressions/gen/Resources/xlf/Strings.ko.xlf
index 6654610f3f303..65985165ae014 100644
--- a/src/libraries/System.Text.RegularExpressions/gen/Resources/xlf/Strings.ko.xlf
+++ b/src/libraries/System.Text.RegularExpressions/gen/Resources/xlf/Strings.ko.xlf
@@ -109,8 +109,8 @@
- ScanRegex에 내부 오류가 있습니다.
-
+ ScanRegex에 내부 오류가 있습니다.
+ {Locked="ScanRegex"}
@@ -134,13 +134,13 @@
- RegexGeneratorAttribute의 형식이 잘못되었습니다.
-
+ RegexGeneratorAttribute의 형식이 잘못되었습니다.
+ {Locked="RegexGeneratorAttribute"}
- 잘못된 RegexGenerator 사용
-
+ 잘못된 RegexGenerator 사용
+ {Locked="RegexGenerator"}
@@ -195,7 +195,7 @@
Regex replacements with substitutions of groups are not supported with RegexOptions.NonBacktracking.
-
+ {Locked="RegexOptions.NonBacktracking"}
@@ -219,8 +219,8 @@
- 캡처 그룹 번호는 Int32.MaxValue보다 작거나 같아야 합니다.
-
+ 캡처 그룹 번호는 Int32.MaxValue보다 작거나 같아야 합니다.
+ {Locked="Int32.MaxValue"}
diff --git a/src/libraries/System.Text.RegularExpressions/gen/Resources/xlf/Strings.pl.xlf b/src/libraries/System.Text.RegularExpressions/gen/Resources/xlf/Strings.pl.xlf
index f84553cffe9b5..82d8449a5e588 100644
--- a/src/libraries/System.Text.RegularExpressions/gen/Resources/xlf/Strings.pl.xlf
+++ b/src/libraries/System.Text.RegularExpressions/gen/Resources/xlf/Strings.pl.xlf
@@ -109,8 +109,8 @@
- Błąd wewnętrzny w elemencie ScanRegex.
-
+ Błąd wewnętrzny w elemencie ScanRegex.
+ {Locked="ScanRegex"}
@@ -134,13 +134,13 @@
- Atrybut RegexGeneratorAttribute jest źle sformułowany
-
+ Atrybut RegexGeneratorAttribute jest źle sformułowany
+ {Locked="RegexGeneratorAttribute"}
- Nieprawidłowe użycie atrybutu RegexGenerator
-
+ Nieprawidłowe użycie atrybutu RegexGenerator
+ {Locked="RegexGenerator"}
@@ -195,7 +195,7 @@
Regex replacements with substitutions of groups are not supported with RegexOptions.NonBacktracking.
-
+ {Locked="RegexOptions.NonBacktracking"}
@@ -219,8 +219,8 @@
- Numery grup przechwytywania muszą być mniejsze lub równe wartości Int32.MaxValue.
-
+ Numery grup przechwytywania muszą być mniejsze lub równe wartości Int32.MaxValue.
+ {Locked="Int32.MaxValue"}
diff --git a/src/libraries/System.Text.RegularExpressions/gen/Resources/xlf/Strings.pt-BR.xlf b/src/libraries/System.Text.RegularExpressions/gen/Resources/xlf/Strings.pt-BR.xlf
index ee284582bf53e..51345846dc6b1 100644
--- a/src/libraries/System.Text.RegularExpressions/gen/Resources/xlf/Strings.pt-BR.xlf
+++ b/src/libraries/System.Text.RegularExpressions/gen/Resources/xlf/Strings.pt-BR.xlf
@@ -109,8 +109,8 @@
- Erro interno em ScanRegex.
-
+ Erro interno em ScanRegex.
+ {Locked="ScanRegex"}
@@ -134,13 +134,13 @@
- O RegexGeneratorAttribute está malformado
-
+ O RegexGeneratorAttribute está malformado
+ {Locked="RegexGeneratorAttribute"}
- Uso Inválido do RegexGenerator
-
+ Uso Inválido do RegexGenerator
+ {Locked="RegexGenerator"}
@@ -195,7 +195,7 @@
Regex replacements with substitutions of groups are not supported with RegexOptions.NonBacktracking.
-
+ {Locked="RegexOptions.NonBacktracking"}
@@ -219,8 +219,8 @@
- Os números de grupo de captura devem ser menores que ou iguais a Int32.MaxValue.
-
+ Os números de grupo de captura devem ser menores que ou iguais a Int32.MaxValue.
+ {Locked="Int32.MaxValue"}
diff --git a/src/libraries/System.Text.RegularExpressions/gen/Resources/xlf/Strings.ru.xlf b/src/libraries/System.Text.RegularExpressions/gen/Resources/xlf/Strings.ru.xlf
index 99b880cc7b40a..e0b05ab0fff58 100644
--- a/src/libraries/System.Text.RegularExpressions/gen/Resources/xlf/Strings.ru.xlf
+++ b/src/libraries/System.Text.RegularExpressions/gen/Resources/xlf/Strings.ru.xlf
@@ -109,8 +109,8 @@
- Внутренняя ошибка в ScanRegex.
-
+ Внутренняя ошибка в ScanRegex.
+ {Locked="ScanRegex"}
@@ -134,13 +134,13 @@
- Ошибка в регулярном выражении RegexGeneratorAttribute
-
+ Ошибка в регулярном выражении RegexGeneratorAttribute
+ {Locked="RegexGeneratorAttribute"}
- Недопустимое использование RegexGenerator
-
+ Недопустимое использование RegexGenerator
+ {Locked="RegexGenerator"}
@@ -195,7 +195,7 @@
Regex replacements with substitutions of groups are not supported with RegexOptions.NonBacktracking.
-
+ {Locked="RegexOptions.NonBacktracking"}
@@ -219,8 +219,8 @@
- Номера групп захвата должны быть меньше или равны Int32.MaxValue.
-
+ Номера групп захвата должны быть меньше или равны Int32.MaxValue.
+ {Locked="Int32.MaxValue"}
diff --git a/src/libraries/System.Text.RegularExpressions/gen/Resources/xlf/Strings.tr.xlf b/src/libraries/System.Text.RegularExpressions/gen/Resources/xlf/Strings.tr.xlf
index bb6c8e1863a10..7abb136191c03 100644
--- a/src/libraries/System.Text.RegularExpressions/gen/Resources/xlf/Strings.tr.xlf
+++ b/src/libraries/System.Text.RegularExpressions/gen/Resources/xlf/Strings.tr.xlf
@@ -109,8 +109,8 @@
- ScanRegex iç hatası.
-
+ ScanRegex iç hatası.
+ {Locked="ScanRegex"}
@@ -134,13 +134,13 @@
- RegexGeneratorAttribute hatalı biçimlendirilmiş
-
+ RegexGeneratorAttribute hatalı biçimlendirilmiş
+ {Locked="RegexGeneratorAttribute"}
- Geçersiz RegexGenerator kullanımı
-
+ Geçersiz RegexGenerator kullanımı
+ {Locked="RegexGenerator"}
@@ -195,7 +195,7 @@
Regex replacements with substitutions of groups are not supported with RegexOptions.NonBacktracking.
-
+ {Locked="RegexOptions.NonBacktracking"}
@@ -219,8 +219,8 @@
- Yakalama grubu numaraları Int32.MaxValue değerine eşit veya bundan küçük olmalıdır.
-
+ Yakalama grubu numaraları Int32.MaxValue değerine eşit veya bundan küçük olmalıdır.
+ {Locked="Int32.MaxValue"}
diff --git a/src/libraries/System.Text.RegularExpressions/gen/Resources/xlf/Strings.zh-Hans.xlf b/src/libraries/System.Text.RegularExpressions/gen/Resources/xlf/Strings.zh-Hans.xlf
index a17a2102fd7d3..72046a068b390 100644
--- a/src/libraries/System.Text.RegularExpressions/gen/Resources/xlf/Strings.zh-Hans.xlf
+++ b/src/libraries/System.Text.RegularExpressions/gen/Resources/xlf/Strings.zh-Hans.xlf
@@ -109,8 +109,8 @@
- ScanRegex 中的内部错误。
-
+ ScanRegex 中的内部错误。
+ {Locked="ScanRegex"}
@@ -134,13 +134,13 @@
- RegexGeneratorAttribute 格式不正确
-
+ RegexGeneratorAttribute 格式不正确
+ {Locked="RegexGeneratorAttribute"}
- 无效的 RegexGenerator 用法
-
+ 无效的 RegexGenerator 用法
+ {Locked="RegexGenerator"}
@@ -195,7 +195,7 @@
Regex replacements with substitutions of groups are not supported with RegexOptions.NonBacktracking.
-
+ {Locked="RegexOptions.NonBacktracking"}
@@ -219,8 +219,8 @@
- 捕获组的数量必须小于或等于 Int32.MaxValue。
-
+ 捕获组的数量必须小于或等于 Int32.MaxValue。
+ {Locked="Int32.MaxValue"}
diff --git a/src/libraries/System.Text.RegularExpressions/gen/Resources/xlf/Strings.zh-Hant.xlf b/src/libraries/System.Text.RegularExpressions/gen/Resources/xlf/Strings.zh-Hant.xlf
index 6c552441ce0e9..87e6ae8b82d68 100644
--- a/src/libraries/System.Text.RegularExpressions/gen/Resources/xlf/Strings.zh-Hant.xlf
+++ b/src/libraries/System.Text.RegularExpressions/gen/Resources/xlf/Strings.zh-Hant.xlf
@@ -109,8 +109,8 @@
- ScanRegex 發生內部錯誤。
-
+ ScanRegex 發生內部錯誤。
+ {Locked="ScanRegex"}
@@ -134,13 +134,13 @@
- RegexGeneratorAttribute 格式錯誤
-
+ RegexGeneratorAttribute 格式錯誤
+ {Locked="RegexGeneratorAttribute"}
- 無效的 RegexGenerator 使用方式
-
+ 無效的 RegexGenerator 使用方式
+ {Locked="RegexGenerator"}
@@ -195,7 +195,7 @@
Regex replacements with substitutions of groups are not supported with RegexOptions.NonBacktracking.
-
+ {Locked="RegexOptions.NonBacktracking"}
@@ -219,8 +219,8 @@
- 擷取的群組數目必須小於或等於 Int32.MaxValue。
-
+ 擷取的群組數目必須小於或等於 Int32.MaxValue。
+ {Locked="Int32.MaxValue"}
diff --git a/src/libraries/System.Text.RegularExpressions/src/Resources/Strings.resx b/src/libraries/System.Text.RegularExpressions/src/Resources/Strings.resx
index 4f4fef7a861e7..ba430db54c5a3 100644
--- a/src/libraries/System.Text.RegularExpressions/src/Resources/Strings.resx
+++ b/src/libraries/System.Text.RegularExpressions/src/Resources/Strings.resx
@@ -111,6 +111,7 @@
Internal error in ScanRegex.
+ {Locked="ScanRegex"}Invalid group name: Group names must begin with a word character.
@@ -225,12 +226,15 @@
Regex replacements with substitutions of groups are not supported with RegexOptions.NonBacktracking.
+ {Locked="RegexOptions.NonBacktracking"}RegexOptions.NonBacktracking is not supported in conjunction with RegexOptions.{0}.
+ {Locked="RegexOptions.NonBacktracking"}RegexOptions.NonBacktracking is not supported in conjunction with expressions containing: '{0}'.
+ {Locked="RegexOptions.NonBacktracking"}backreference (\\ number)