yargalot / gulp-accessibility

Gulp plugin for AccessSniff
48 stars 12 forks source link

When a ***** is present as a string I get 'SyntaxError: Invalid regular expression' #11

Open julianpinedayyz opened 8 years ago

julianpinedayyz commented 8 years ago

When I start the task, it breaks and I get 'SyntaxError: Invalid regular expression'. If removed all goes well.

<span>Credit Card 1234 **** **** 5098</span>

Can this be fixed? Is there any way to pass an option to ignore a set of strings or characters? A Regex to exclude that from parsing perhaps?

Thanks!

yargalot commented 8 years ago

Yeh thats defintelly a bug, ill add it in for a fix on the accessSniff project

julianpinedayyz commented 8 years ago

Any updates?