On 6 September 2011 16:49, gaz Heyes <[email protected]> wrote: > > On 6 September 2011 16:32, Poetro <[email protected]> wrote >> >> Asen means: >> >> /^[A-Z_$][\w$]*$/i > > Asen shouldn't have said "i" modifier then >
He said "Also when I use `i` modifier I always use upper case letters in RegExp literal because they are easier for reading", i.e. when he uses the `i` modifier he uses uppercase letters in the literal. It's fairly obvious to me that he's talking about the bit between / and /. > -- > To view archived discussions from the original JSMentors Mailman list: > http://www.mail-archive.com/[email protected]/ > > To search via a non-Google archive, visit here: > http://www.mail-archive.com/[email protected]/ > > To unsubscribe from this group, send email to > [email protected] > -- Nick Morgan http://skilldrick.co.uk @skilldrick Save our in-boxes! http://emailcharter.org -- To view archived discussions from the original JSMentors Mailman list: http://www.mail-archive.com/[email protected]/ To search via a non-Google archive, visit here: http://www.mail-archive.com/[email protected]/ To unsubscribe from this group, send email to [email protected]
