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

regex exmaple? #891

Open
brucejcw opened this Issue Oct 14, 2016 · 4 comments

Comments

Projects
None yet
3 participants
@brucejcw
Copy link

brucejcw commented Oct 14, 2016

is there any regex example handling with string ?
eg:

{% if /.../.test('somestring') %}

how can i use regex to validate string

@vecmezoni

This comment has been minimized.

Copy link
Collaborator

vecmezoni commented Oct 14, 2016

@brucejcw

This comment has been minimized.

Copy link
Author

brucejcw commented Oct 14, 2016

@vecmezoni thanks

@brucejcw brucejcw closed this Oct 14, 2016

@brucejcw

This comment has been minimized.

Copy link
Author

brucejcw commented Dec 27, 2016

@vecmezoni any way to create dynamic regex ? like new RegExp(m, 'g')

@brucejcw brucejcw reopened this Dec 27, 2016

@perrygovier

This comment has been minimized.

Copy link

perrygovier commented Feb 15, 2019

The fact that you have to prefix with r should be added to the replace filter documentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment