Skip to content

Commit

Permalink
fix(common): update parsing rule to remove dot at the beginning of so…
Browse files Browse the repository at this point in the history
…urces
  • Loading branch information
rhahao authored Dec 13, 2023
1 parent 6cce448 commit c8a1a37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/parsing_rules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export const extractSourceEnhanced = (src: string, lang: string) => {
if (match) {
const splits = src.split(regex);
const duration = +match[0].match(/\d+/)![0];
const regexStartColumn = /^:/;
const regexStartColumn = /^[:.]/;
const regexEndColumn = /:$/;

const tmpAssignment = splits[0].trim();
Expand Down

0 comments on commit c8a1a37

Please sign in to comment.