Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: Executing CGI/web form directives in regex substitution without pages of code

by Your Mother (Bishop)
on Feb 19, 2020 at 20:35 UTC ( #11113180=note: print w/replies, xml ) Need Help??


in reply to Re: Executing CGI/web form directives in regex substitution without pages of code
in thread Executing CGI/web form directives in regex substitution without pages of code

Hi, have you tried compiling your pattern with qr//?

Or properly indenting? :P

  • Comment on Re^2: Executing CGI/web form directives in regex substitution without pages of code

Replies are listed 'Best First'.
Re^3: Executing CGI/web form directives in regex substitution without pages of code
by Polyglot (Pilgrim) on Feb 19, 2020 at 20:53 UTC

    It is indented differently in my code. I was actually surprised after pasting and posting it here that it displayed as it does, and I assumed something had removed some of the tabs. In retrospect, it probably has more to do with the fact that my text editor uses a different (user-adjustable, and font-related) tab setting.

    Blessings,

    ~Polyglot~

      I was just teasing. :P Could be / probably is that the indenting is tabs. They collapse in HTML—and many editors for that matter—by default. Tabs are wonderful where they are set properly, not so great in code portability. You can do a find replace with 4 (standard) spaces before pasting it into the post to get a more readable layout.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (2)
As of 2020-04-05 23:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The most amusing oxymoron is:
















    Results (36 votes). Check out past polls.

    Notices?