Skip to content

FormattedMessage doesn't need to use regular expressions #1223

Closed
@jvz

Description

@jvz

In order to determine which message format syntax to use in FormattedMessage, this uses a regular expression. This can be simplified by flipping the ordering to check for a parametrized message first before assuming it's a printf-style message.

Metadata

Metadata

Labels

enhancementAdditions or updates to featuresminor API changeperformanceIssues or PRs that affect performance, throughput, latency, etc.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions