Closed toorooji closed 3 years ago
Optimized regular expressions within the editor
Some of the regular expressions being used allowed backtracing. This change removes that backtracing by removing unnecessary nested captures.
The goal of this change is to prevent backtracing that could cause regular expressions to take longer than necessary.
Automated tests were successful, verified expected inputs manually and also verified a skill built using SFB.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Title
Optimized regular expressions within the editor
Description
Some of the regular expressions being used allowed backtracing. This change removes that backtracing by removing unnecessary nested captures.
Motivation and Context
The goal of this change is to prevent backtracing that could cause regular expressions to take longer than necessary.
Testing
Automated tests were successful, verified expected inputs manually and also verified a skill built using SFB.
Types of changes
Checklist
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.