mirror of
https://github.com/horsicq/Detect-It-Easy.git
synced 2026-06-24 01:54:08 +00:00
Use non-capturing group in FXS regex
Replace the capturing group with a non-capturing group in the Microsoft Fax library detection regex (FXS(?:API|TIFF|CLNTR)). This avoids creating an unnecessary capture while preserving the original matching behavior (case-insensitive match for FXSAPI, FXSTIFF, FXSCLNTR).
This commit is contained in:
parent
c991951a83
commit
87511f3e9f
1 changed files with 1 additions and 1 deletions
|
|
@ -5,7 +5,7 @@
|
|||
meta("library", "Microsoft Fax");
|
||||
|
||||
function detect() {
|
||||
if (PE.isLibraryPresentExp(/^FXS(API|TIFF|CLNTR)/i)) {
|
||||
if (PE.isLibraryPresentExp(/^FXS(?:API|TIFF|CLNTR)/i)) {
|
||||
bDetected = true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue