This'll break if there's more than one :
in the line -- since we only want the first, try a non-greedy match: ^(.*?):
(Which is what you call "learning from your own embarrassing mistakes" And what's the betting I've made another one here?)
This'll break if there's more than one :
in the line -- since we only want the first, try a non-greedy match: ^(.*?):
(Which is what you call "learning from your own embarrassing mistakes" And what's the betting I've made another one here?)