Re: pattern matching

new topic     » topic index » view thread      » older message » newer message

Warren wrote:

> Can you explain what exactly you are
> trying to do with your matching below?
>
>>    /.* ^Name: (.*)/

Sorry, I was *very* confused when I wrote the example. I didn't know that
'^' indicated that the pattern must start from the beginning of the string;
I was thinking that it was some sort of string delimiter. I've managed to
answer my own question.

I'm sure there are bound to be a lot of stupid mistakes in the pattern
matcher, mostly caused because I haven't actually used Perl. So I'm hoping
when I release the code that people will point out where my boneheaded
mistakes are.

Thanks!

-- Daid Cuny

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu