In (my) XEmacs 21.4, describe-variable for gdb-prompt-pattern gives:
Value: "^>\\|^(.*gdb[+]?) *\\|^---Type <return> to.*--- *"
What is the "[+]" in there? Does it just mean "the + character"? If so, why not use "\+"?
\\|^(.*gdb[+]?) *\\|^---Type
What is "[+]" in xemacs regular expression?
785 Views
Asked by
John H.
At
There are 2 best solutions below
in regular expression
[+]is symbol+any symbol in
[]is symbol except-