Concatention of string index templates ${number}${string}${number}
is not additive w.r.t. accepted strings.
#46124
Labels
Working as Intended
The behavior described is the intended behavior; this is not a bug
Bug Report
π Search Terms
String index templates
Template String Pattern Index Signatures
π Version & Regression Information
Seen on 4.4.3
β― Playground Link
playground
π» Code
π Actual behavior
If two templates are concatenated, that result will not accept all concatenations of originally accepted strings.
(More narrow assessment: ${number}${string}${number} should be equivalent to ${number}${string}, but isn't.)
π Expected behavior
If two templates are concatenated, that result will accept all concatenations of originally accepted strings.
(More narrow assessment: ${number}${string}${number} should be equivalent to ${number}${string}.)
The text was updated successfully, but these errors were encountered: