gun icon indicating copy to clipboard operation
gun copied to clipboard

LEX bug test

Open orimay opened this issue 3 years ago • 2 comments

Say, we have a list of props on a node:

aa
ab
ac

Then we query it like this:

{
  '.': {
    '*': 'a',
    '>': 'ab'
  }
}

The result we expect:

ab
ac

The result we get:

aa
ab
ac

orimay avatar Jan 12 '22 09:01 orimay

👍 sounds like this is gonna be a win+win for everything, your other PR had smaller code, and this is a more sensible default that didn't add any complexity. I'm very impressed! Thanks for being willing to switch to ECMAscript5.

amark avatar Feb 04 '22 10:02 amark

@Orimay we moved String.match() to lib/lex.js

bmatusiak avatar Jun 07 '22 19:06 bmatusiak