J
Joe Smith
Mark said:"Why do people insist on doing things the hardest way possible."? Well,
as I said in an earlier post, I wanted to do the whole thing within a
regex rather than resorting to the shell.
OK, but that doesn't answer the question. The statement
if (!/^http/i.test(some_string)) { ... }
does not resort to using the shell, and therefore is acceptable,
is it not?
Doing it with a regex + some simple programming is not the same
as resorting to the shell. So, what are your actual requirements?
-Joe