Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: regex search

by roju (Friar)
on Jul 09, 2003 at 20:23 UTC ( [id://272816]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    foreach $keyword ( @keywords )
    {
      $sql_stmt .= " AND ( PlantDescription REGEXP "s/\$keyword/" );"
    }
    
  2. or download this
    $keywords = join "|", @keywords;
    $sql_stmt .= "AND ( PlantDescription REGEXP \"$keywords\" )";
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://272816]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (3)
As of 2024-04-20 01:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found