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
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:
>