https not optional

This commit is contained in:
2024-10-14 09:17:53 +01:00
parent 63e14fbbbb
commit c40d62dba9

View File

@@ -6,7 +6,7 @@ Persistent
^v:: { ; On Ctrl+V
fixedText := RegExReplace(
A_Clipboard,
'(?:https?:\/\/)?(?:mobile\.)?(?:x|twitter)\.com\/(\w+)\/status\/(\d+)',
'https?:\/\/(?:mobile\.)?(?:x|twitter)\.com\/(\w+)\/status\/(\d+)',
'https://fxtwitter.com/$1/status/$2',
&ReplacementCount,
)