Beefy Boxes and Bandwidth Generously Provided by pair Networks kudra
"be consistent"
 
PerlMonks  

Re: Re: Re: This looks like someone sneezed and hit the keyboard

by ysth (Canon)
on Feb 03, 2004 at 12:05 UTC ( [id://326256]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Re: Re: This looks like someone sneezed and hit the keyboard
in thread This looks like someone sneezed and hit the keyboard

I have real trouble with remembering to use whitespace, comments, and /x in my regexs. I just don't have the habit (yet!) while writing code. Almost all the /x's that end up in my code are added after-the-fact. I'm almost ready to decide just to put an /x on all regexes (to help develop the habit), but I know that will get me strange looks.
  • Comment on Re: Re: Re: This looks like someone sneezed and hit the keyboard

Replies are listed 'Best First'.
Re: Re: Re: Re: This looks like someone sneezed and hit the keyboard
by flyingmoose (Priest) on Feb 03, 2004 at 14:27 UTC
    My regexes tend to be very basic, so, like you I don't use /x much. It would look crazy if used everywhere. However, this example is pretty ugly and needs it just for maintaince purposes. We are lucky some folks remember what ANSI escape sequences look like, as someone who didn't use ANSI codes wouldn't have a clue.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://326256]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.