https://bugzilla.novell.com/show_bug.cgi?id=329992 https://bugzilla.novell.com/show_bug.cgi?id=329992#c34 --- Comment #34 from Pieter De Decker <pdedecker@gmail.com> 2011-02-20 20:52:35 UTC --- The usage of [A-Z] as "one uppercase letter" is a widespread misconception in regex tutorials, including the slightly unreliable Wikipedia. I was taught in university that [A-Z] was a shorthand for [:upper:]. (I'm an undergrad.) I'm definitely not saying that I'm right. I've looked at the official grep doc you linked to and saw for myself that I'm wrong. However, I would argue that this isn't a very intuitive approach. I think most people assume that [A-Z] is equivalent [:upper:]. Because its result depends on the locale that is in use, people are gonna get confused. Perhaps that's why the bug you described popped up. Undoubtedly, such a change in semantics would have implications that are beyond my knowledge. All I'm saying is that the definition of [A-Z] doesn't make a lot of sense to me. Anyway, thanks for the quick regex lesson. :) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.