Skip to content

Inline Patterns may start with any character #48

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 8, 2018

Conversation

stasm
Copy link
Contributor

@stasm stasm commented Feb 8, 2018

}, ., * and [ are only special when they appear at the beginning of indented Pattern lines. When a Pattern starts on the same line as id = or [variant key], its first character doesn't carry any special meaning and it may be one of those four ones as well.

Port of projectfluent/fluent.js#150.

`}`, `.`, `*` and `[` are only special when they appear at the beginning of
indented Pattern lines. When a Pattern starts on the same line as `id =` or
`[variant key]`, its first character doesn't carry any special meaning and it
may be one of those four ones as well.
@stasm stasm requested a review from Pike February 8, 2018 11:58
Copy link
Contributor

@Pike Pike left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you reference https://bugzilla.mozilla.org/show_bug.cgi?id=1436685 in the commit message, too?

apart from that, r=me.

@stasm stasm merged commit f4cdac8 into projectfluent:master Feb 8, 2018
@stasm stasm deleted the inline-pattern-any-char branch February 8, 2018 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants