<?xml version="1.0" encoding="windows-1252"?>
<node id="993594" title="Re: realizing AND in regex?" created="2012-09-13 18:39:29" updated="2012-09-13 18:39:29">
<type id="11">
note</type>
<author id="920017">
pvaldes</author>
<data>
<field name="doctext">
&lt;p&gt;&lt;i&gt;I got the requirement to find fields which match multiple regex at the same time&lt;/i&gt;&lt;/p&gt;

&lt;c&gt;while (&lt;DATA&gt;){
    if (/foo/ &amp;&amp; /bar/){ print $_ } }

__DATA__

fobur
barfoo
foobar
fobar
bar
foo
&lt;/c&gt;</field>
<field name="root_node">
993441</field>
<field name="parent_node">
993441</field>
</data>
</node>
