in reply to Re^13: Bind zone file searchin thread Bind zone file search
right, I need to avoid stanzas that begin with the // or #
Try the following modified regex in the subroutine:
^ ^ ^
| | |
| | + - 0+ whitespaces
| + - Match "zone" and 0+ whitespaces that are not preceded by an "
+#" or "/"
+ - Negative lookbehind
There is no Extraterrestrial life
There aren't any suitably capable Extraterrestrials
Interstellar travel is too difficult
We're too uncool / not worth the trouble
What do you mean they haven't visited?
Results (473 votes). Check out past polls.