in reply to Re: Parsing
in thread Splitting and formatting a line


Death to Dot Star!

Your regex will run much faster if you write it instead like so:

if (/([^:]*):([^:]*):([^:]*):([^:]*):([^:]*)/) {
except that it's unnecessarily difficult. Really, just use Ovid's solution or chip's solution.

jynx