We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It looks like the options flags are never applied as part of the replace
The text was updated successfully, but these errors were encountered:
hi, do you have a quick example, that does not work? Thanks
Sorry, something went wrong.
This action only applies the chnage to the first instance in a line:
{ search: /partials/logo.html/, replace: 'p/m', flags: 'g' }
if I change to this it works:
{ search: /partials/logo.html/g, replace: 'p/m' }
On Thu, Oct 3, 2013 at 5:57 AM, Hubert Boma Manilla < notifications@github.com> wrote:
hi, do you have a quick example, that does not work? Thanks — Reply to this email directly or view it on GitHubhttps://github.com//issues/5#issuecomment-25610015 .
— Reply to this email directly or view it on GitHubhttps://github.com//issues/5#issuecomment-25610015 .
When using a Regexp object like /\s+/g the options must be attached as part of the object. So the flags option is not needed. Cheers
No branches or pull requests
It looks like the options flags are never applied as part of the replace
The text was updated successfully, but these errors were encountered: