Skip to content

Matching the [ character #881

Discussion options

You must be logged in to vote

solution for v14 (unreleased):

  let  regs = [{ word: 'may' }, { pre: '[' }]
  let m = nlp('may, [2019] foo').match(regs)
  m.text()
  // 'may, [2019]'

looking like december.

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
6 replies
@Drache93
Comment options

@justin-neilon
Comment options

@Drache93
Comment options

@spencermountain
Comment options

@spencermountain
Comment options

Comment options

You must be logged in to vote
1 reply
@Drache93
Comment options

Answer selected by spencermountain
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants