Skip to content

Commit

Permalink
feat(shared/tokens)!: break HaveA into Have and A
Browse files Browse the repository at this point in the history
Because this makes the statements whitespace-unignorant, we need to separate
these out.  Upcoming commits will fix the issues caused by this breaking change.
  • Loading branch information
denizenging committed Sep 20, 2023
1 parent 9c845be commit f61e3b3
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions pkg/shared/src/tokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,14 @@ export const Named = createToken({
pattern: /named/i,
});

export const HaveA = createToken({
name: 'HaveA',
pattern: /have (a|an)/i,
export const Have = createToken({
name: 'Have',
pattern: /have/i,
});

export const A = createToken({
name: 'A',
pattern: '/a/i',
});

export const The = createToken({
Expand Down

0 comments on commit f61e3b3

Please sign in to comment.