Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/56 configuration for regex inputs #67

Merged
merged 12 commits into from
Dec 13, 2022
Prev Previous commit
Next Next commit
removed console.logs and resolved comments
Signed-off-by: Kevin Beier <[email protected]>
  • Loading branch information
Kevin Beier committed Dec 12, 2022
commit 80fd06e76140db1ce00e7da5323c5d0664d700a1
1 change: 0 additions & 1 deletion src/components/LogOutput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ watch(isRunning, (newValue) => {
.getRegexGroups()[0]
.getValueRegex()
.getLastBestMatch();
console.log(Math.floor(Date.now() / 1000));
matchedElements.value.push(newValue);
timerId = setTimeout(tick, 1000);
}, 1000);
Expand Down
1 change: 0 additions & 1 deletion src/proc/TesseractHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ export class TesseractHandler {
)
)
);
console.log(results);
callback(results);
this.running = false;
})();
Expand Down
4 changes: 1 addition & 3 deletions src/proc/regex/Regex.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,7 @@ export abstract class Regex {
private getAllSubstrings(
str: string
): { index: number; element: string }[] {
var i,
j,
result = [];
var i, j, result = [];

for (i = 0; i < str.length; i++) {
for (j = i + 1; j < str.length + 1; j++) {
Expand Down