in reply to Re^2: Help me beat NodeJS
in thread Help me beat NodeJS
Wow thanks, I'll give this a shot. I will have to read some more on MCE, it looks very useful. I should have clarified, in the "parser" function in nodejs, I'm applying the same regex as perl to be fair. I've done the tests looking for a specific string (/some_string/) and I've done the regex in the above code (/".*?"|\S+/g), which captures everything in an array, since the lines are in this format: ' 1970-01-01 00:00:00 1.1.1.1 "A multi-word field" 2.2.2.2 '
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Help me beat NodeJS
by marioroy (Prior) on Feb 13, 2016 at 22:10 UTC | |
by RichardK (Parson) on Feb 13, 2016 at 22:54 UTC | |
by marioroy (Prior) on Feb 13, 2016 at 23:41 UTC | |
by rickyw59 (Novice) on Feb 14, 2016 at 04:10 UTC |