I've just discovered some behaviour in 4.7.3, reproduced in 4.7.2, that seems a little counterintuitive to me.
I load a text file and search, using regular expression syntax, for ^[A-Z]+-. The match case option is deselected.
So I want the search to find lines beginning, e.g., XYZ- or DEFGH-, but not anything else, e.g. only find lines beginning with a series of uppercase letters and a dash.
I find that the search only works if I enable the option to Match Case.
Does anyone know if this is the desired behaviour ? I would have though that Match Case should not apply to RE searches.
Case Sensitivity and Regular Expressions
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
-
- Posts: 2461
- Joined: Sun Mar 02, 2003 9:22 pm