Test, validate and match regular expressions
Matches URL strings or paths containing Persian/Farsi characters (Unicode range U+0600–U+06FF) mixed with ASCII letters, digits, hyphens, forward slashes, underscores, and dots. Useful for extracting or validating links from Persian-language sites such as fa.wikipedia.org. The optional group permits empty matches, while the gm flags find all occurrences across multiple lines. Note: the 'A-z' range also unintentionally includes symbols like [ ] ^ ` between uppercase and lowercase letters.