Skip to content

Commit

Permalink
regex linting
Browse files Browse the repository at this point in the history
  • Loading branch information
jezhiggins committed Oct 14, 2021
1 parent 46676dd commit d117f5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/lexer.js
Expand Up @@ -2,10 +2,10 @@ import { peekableStream } from './util/peekable-stream.js'

const symbolStartMatcher = /[a-zA-Z_]/
const symbolMatcher = /[a-zA-Z_0-9]/
const numberMatcher = /[0-9\.]/
const numberMatcher = /[0-9.]/
const quoteMatcher = /["']/
const singleMatcher = /[(){},=;:]/
const operationMatcher = /[\+\-\*\/]/
const operationMatcher = /[+\-*\/]/
const spaceMatcher = /[ \n]/

function* lex(input) {
Expand Down

0 comments on commit d117f5f

Please sign in to comment.