Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re: Re: Re: Regex confusion

by graff (Chancellor)
on Aug 07, 2002 at 17:39 UTC ( #188399=note: print w/replies, xml ) Need Help??

in reply to Re: Re: Regex confusion
in thread Regex confusion

Arturo is right -- I don't see how anything is getting assigned to $project, since the match does not succeed at all for the initial example.

Trying to match: client.project.subproject where:

  • Client and project are manditory. Subproject is optional but, there could be more than one.
  • Client, project and subproject could contain, letters, numbers, _, -, or \&

Update:Actually your regex ... works well. Thank you.

Arturo's regex will include both your project and all sub-projects in $2. If that's okay, fine. If not, do it like this:


Log In?

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2023-10-04 00:04 GMT
Find Nodes?
    Voting Booth?

    No recent polls found