Skip to content

Commit

Permalink
merge regex rules
Browse files Browse the repository at this point in the history
  • Loading branch information
absszero committed Dec 28, 2024
1 parent fbf735c commit 3f68e5c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/ClassName.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ import { Place } from './Place';

export class ClassName {
static readonly patterns = [
/([A-Z][\w]+[\\])+[A-Z][\w]+/,
/([A-Z][\w]+[/])+[A-Z][\w]+/,
/([A-Z][\w]+[/\\])+[A-Z][\w]+/,
];

public getPlace(path: string, line: string, lines = ''): Place {
Expand Down

0 comments on commit 3f68e5c

Please sign in to comment.