On Thu Apr 4 08:17:13 EDT 2013, beg...@gmail.com wrote: > Cool. > > > Here's a script i use to generate case > insensitive regexes. It turns > > FooBar > > into > > [Ff][Oo][Oo][Bb][Aa][Rr]
see also rune(1), http://9atom.org/magic/man2html/1/rune which generalizes this idea to all of unicode (rune/case), and also to diacritical and other markers (rune/fold; rune/unfold). for the latter also see grep(1)'s -I flag, http://9atom.org/magic/man2html/1/grep - erik