There is still a lack of original, localized, high-quality content and well-structured Arabic websites; This method help in tag HTML result pages from Arabic forum to enable filter it in/out.
Renders regular expression pattern using an enhanced version of syntax and semantics to support arabic version of some specifying generic character types
The pattern to search for, as a string using syntax and semantics of the regular expressions enhanced by arabic version of some specifying generic character types: \[ar]w any Arabic letter (including Harakat and Tatweel if $vowels is true) \[ar]d any decimal Arabic-Indic digit \[ar]v any Arabic vowel character (i.e. Harakat including Tatweel) \[ar]p any Arabic puncation character \[ar]W any character that is not an Arabic letter (including Harakat and Tatweel if $vowels is true) \[ar]D any character that is not a decimal Arabic-Indic digit \[ar]V any character that is not an Arabic vowel character (i.e. Harakat including Tatweel) \[ar]P any character that is not an Arabic puncation character
boolean
$vowels
True will include Harakat and Tatweel to the Arabic letters set (default is true)