Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Stopping excessive periods in email

by Anonymous Monk
on Jul 17, 2021 at 13:56 UTC ( [id://11135097]=note: print w/replies, xml ) Need Help??


in reply to Stopping excessive periods in email

I'm not sure your regex does what you say it does. You say it looks for two at signs and then a comma and then the periods. As I read it, it looks for two at signs OR a comma OR periods OR a return. So any string that has one of these will match. Specifically, the following match:

  • ' me @ myself @ I '
  • 'Hello, sailor!'
  • 'Fee. Fie. Foe. Fum.'
  • "\n"

Replies are listed 'Best First'.
Re^2: Stopping excessive periods in email
by htmanning (Friar) on Jul 20, 2021 at 19:19 UTC
    That's correct. That's what I'm after.

    Thanks!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (4)
As of 2024-03-29 09:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found