/test/match.let

http://github.com/fizx/parsley · Unknown · 9 lines · 9 code · 0 blank · 0 comment · 0 complexity · acd7af12bbf5a339013b93a3f37c831f MD5 · raw file

  1. {
  2. "matches(c)": [{
  3. "a": "regexp:match(., 'no+')",
  4. "b": "regexp:match(., 'no+', 'i')",
  5. "c": "regexp:match(., 'no+', 'g')",
  6. "d": "regexp:match(., 'no+', 'gi')"
  7. }],
  8. "first-capture-group(c)": ["regexp:match(., '(spot).*')[2]"]
  9. }