OR:\A [A-Z0-9]{8} BR
The second one matches. The solution would be to set $prompt_host to:GR
$prompt_host = (?:BR|GR)
In reply to Re^3: Regex matching after ASCII characters
by elTriberium
in thread Regex matching after ASCII characters
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |