|
From: | Abdulrahman Semrie |
Subject: | bug#36251: Regex library doesn't recognize ']' in a character class |
Date: | Sun, 16 Jun 2019 20:16:29 +0300 |
[\\[\\]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:
The result for the above function should have been a match structure with Hence, the above leads me to believe there is a bug in the — Regards, Abdulrahman Semrie |
[Prev in Thread] | Current Thread | [Next in Thread] |