In Avvio rapido di espressioni regolari , si legge
Twelve characters have special meanings in regular expressions: the backslash \, the caret ^, the dollar sign $, the period or dot ., the vertical bar or pipe symbol |, the question mark ?, the asterisk or star *, the plus sign +, the opening parenthesis (, the closing parenthesis ), the opening square bracket [, and the opening curly brace {. These special characters are often called "metacharacters". Most of them are errors when used alone.
Nelle sue specifiche, () , [ , { sono metacaratteri, mentre "parentesi quadra chiusa" e "parentesi graffa chiusa" non lo sono.
Ovviamente, [ e { non sono in grado di eseguire un effetto singolarmente, proprio come aprire la parentesi ( con partner ) .
Qual è la ragione per cui non è possibile selezionare ] e } ?