/test/replace.let

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

  1. {
  2. "matches(c)": [{
  3. "a": "regexp:replace(string(.), 'no+', '', 'yes')",
  4. "b": "regexp:replace(string(.), 'no+', 'i', 'yEs')",
  5. "c": "regexp:replace(string(.), 'no+', 'g', 'yes')",
  6. "d": "regexp:replace(string(.), 'no+', 'gi', 'yEs')"
  7. }]
  8. }