Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Regex Issue

by bluesplay106 (Novice)
on Aug 01, 2013 at 15:45 UTC ( #1047477=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    ==========
    Name: blah
    ID: 2
    ==========
    
  2. or download this
    while($regex =~ /=====.+?ID: 3.+?=====/igs) {
         print "$&\n";
    }
    
  3. or download this
    =========
    Name: Hi
    ID: 3
    =========
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1047477]
Front-paged by Arunbear
help
Chatterbox?
[choroba]: is this something that Pg enforces, or just a consequence of the Perl implementation?
[choroba]: also, does it make any sense? We run different statements generated from input structures, sometimes prepared statements are involved, sometimes not. We want the behaviour to be consistent.
[erix]: I'm not sure. I suppose you could compare behavior via DBD::Pg with behaviour of the naked SQL
[erix]: I mean, SQL with PREPARE

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (13)
As of 2017-09-19 13:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (220 votes). Check out past polls.

    Notices?