Hello,
> ...
> It turns out that there are several flavors of regular expressions in
> common use, with different features and syntax. The link you provided
> is using PCRE (PHP) regular expressions (see the "flavor" pane on the
> left), and there are three other supported flavors on that web sit
On Tue, Jun 18, 2019 at 07:08:06AM -0400, Mark H Weaver wrote:
> Hi,
>
> Abdulrahman Semrie writes:
>
> > I am using the pattern [\\[\\]a-zA-Z]+ to match a string with left or
> > right bracket in it [...]
> It turns out that there are several flavors of regular expressions in
> common use, wit
Hi,
Abdulrahman Semrie writes:
> I am using the pattern [\\[\\]a-zA-Z]+ to match a string with left or
> right bracket in it. However, the string-match function doesn’t match
> the ‘]’ character. To demonstrate with an example, try the following
> funciton:
>
> (string-match "[\\[\\]a-zA-Z]+" "T
On Sun, Jun 16, 2019 at 08:16:29PM +0300, Abdulrahman Semrie wrote:
>
> I am using the pattern [\\[\\]a-zA-Z]+ to match a string with left or right
> bracket in it. However, the string-match function doesn’t match the ‘]’
> character. To demonstrate with an example, try the following funciton:
>
I am using the pattern [\\[\\]a-zA-Z]+ to match a string with left or right
bracket in it. However, the string-match function doesn’t match the ‘]’
character. To demonstrate with an example, try the following funciton:
(string-match "[\\[\\]a-zA-Z]+" "Text[ab]”)
The result for the above functi