Skip to content

add case insensitivity to exclude file extensions regex#1

Open
iMakeSoftware wants to merge 1 commit into
mainfrom
iMakeSoftware-patch-1
Open

add case insensitivity to exclude file extensions regex#1
iMakeSoftware wants to merge 1 commit into
mainfrom
iMakeSoftware-patch-1

Conversation

@iMakeSoftware
Copy link
Copy Markdown
Owner

@iMakeSoftware iMakeSoftware commented May 11, 2026

excluded regex pattern:
\.(iso|r\d{2}|zip|rar|7z|tar|gz|zipx|arj|txt|nfo|jpg|png|pdf|exe|bat|cmd|scr|msi|ps1|vbs|js|jar|com|pif|reg|dll|sys|lnk|url)$

is case sensitive so it wont block '.ISO' extensions for example

I've added case insensitivity by pretending "(?i)" so it will now display like this in aiostreams:

(?i)\.(iso|r\d{2}|zip|rar|7z|tar|gz|zipx|arj|txt|nfo|jpg|png|pdf|exe|bat|cmd|scr|msi|ps1|vbs|js|jar|com|pif|reg|dll|sys|lnk|url)$

regex pattern: 
\.(iso|r\d{2}|zip|rar|7z|tar|gz|zipx|arj|txt|nfo|jpg|png|pdf|exe|bat|cmd|scr|msi|ps1|vbs|js|jar|com|pif|reg|dll|sys|lnk|url)$

is case insensitive so it wont block '.ISO' extensions for example 

added case insensitivity by pretending "(?i)" so it will now display like this in aiostreams:

(?i)\.(iso|r\d{2}|zip|rar|7z|tar|gz|zipx|arj|txt|nfo|jpg|png|pdf|exe|bat|cmd|scr|msi|ps1|vbs|js|jar|com|pif|reg|dll|sys|lnk|url)$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant