Re: Parse a filename (this SHOULD be easy, right?)



usenet@xxxxxxxxxxxxxxx wrote:
> attn.steven.kuo@xxxxxxxxx wrote:
> >>> some code
>
> That works perfectly, thanks. But it does seem like a whole lot of
> code to throw at what seems like a fairly simple problem.
>
> If I get close to my screen and take a whiff, it smells like a problem
> that needs to be sprayed with a regex. But the only bottle of regex
> skills that I have is not very full...
>


Actually, now that I'm looking at the solution posted by
"Big and Blue", I prefer his regular expession
to mine.

--
Regards,
Steven

.



Relevant Pages

  • Re: Ada 2005?
    ... You are right and I did see my error and correted it by translating the ... regex to plain english. ... With Regards ... Martin ...
    (comp.lang.ada)
  • Re: Need help with a regular expression!
    ... You need to use this RegEx ... Regards ... Sachin Korgaonkar ... The map files looks like this: ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Regex File contents
    ... But I was hoping there was some kind file/memory trickery that regex ... Frank ... > Nopes I think. ...
    (microsoft.public.dotnet.general)
  • Re: Matching of optional parts in regular expressions
    ... All three examples work absolutely correct. ... Regex is not anchored. ... > I think that the specified strings must not match to the pattern. ... Best regards ...
    (comp.lang.python)
  • Re: Matching of optional parts in regular expressions
    ... All three examples work absolutely correct. ... Regex is not anchored. ... > I think that the specified strings must not match to the pattern. ... Best regards ...
    (comp.lang.tcl)