News for hackers. Stuff that matters.
Re:Why Using .* in Regular Expressions Is Almost Never What ... by hnriot on Wednesday June 04, 2014 @09:40AM (#7845440)
Except they are! Java, python, JavaScript etc all support lazy quantifies. In fact I can't think of a single language that doesn't.
Re:Why Using .* in Regular Expressions Is Almost Never What ... by mkehrt on Wednesday June 04, 2014 @06:35PM (#7848850)
Except bash, awk, sed and vim. So, everywhere I use regular expressions.
Re:Why Using .* in Regular Expressions Is Almost Never What ... by fmoralesc on Thursday June 05, 2014 @04:18PM (#7854119)
vim has \- and variants.
Re:Why Using .* in Regular Expressions Is Almost Never What ... by caio1982 on Wednesday June 04, 2014 @10:07AM (#7845591)
Sed doesn't AFAIK.