Skip to content

Commit

Permalink
remove comments
Browse files Browse the repository at this point in the history
Signed-off-by: Efe Barlas <ebarlas@purdue.edu>
  • Loading branch information
efebarlas committed Jul 9, 2021
1 parent b07542d commit 9791cce
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/vocabularies/code.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,6 @@ export function callValidateCode(
export function usePattern({gen, it: {self, opts}}: KeywordCxt, pattern: string): Name {
const u = opts.unicodeRegExp ? "u" : ""
const useRe2 = opts.useRe2
//const {gen, data, $data, schema, schemaCode, it} = cxt
//const regExp = $data ? _`(new RegExp(${schemaCode}, ${u}))` : usePattern(cxt, schema)
if (u === "u" && useRe2) {
try {
const s = new Re2(pattern)
Expand Down

0 comments on commit 9791cce

Please sign in to comment.