You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example, following pattern string is treaded /#.*{#[a-z.-]+}/ .
As a result, this pattern match only first item({#first}).
By constrast it does not match second item({#second})
pattern:
"/#.*{#[a-z.-]+}/"
text:
# First {#first}
# Second {#second}
Current behavior confuse user, I think.
The text was updated successfully, but these errors were encountered:
azu
changed the title
Add g flag to Pattern string by default
Add g flag to pattern string by default
Feb 13, 2018
Should we add
g
flag to pattern string?For example, following pattern string is treaded
/#.*{#[a-z.-]+}/
.As a result, this pattern match only first item(
{#first}
).By constrast it does not match second item(
{#second}
)pattern:
text:
Current behavior confuse user, I think.
The text was updated successfully, but these errors were encountered: