ramonvictor / gulp-protractor-qa

Warns whether Protractor locators have their matches within a given set of AngularJS view files
https://www.npmjs.org/package/gulp-protractor-qa
MIT License
59 stars 18 forks source link

Improve cssAttrs regex #2

Closed ramonvictor closed 10 years ago

ramonvictor commented 10 years ago

Some regex rules to consider:

  1. Strings should start with alphanumeric and should not start with '#' and '.';
  2. Has '=' string.
ramonvictor commented 10 years ago

The new regex is now matching: ['string=string'].