[syslinux] (hpa-tftpd] remapping with regular expression problem
H. Peter Anvin
hpa at zytor.com
Thu Aug 5 19:09:38 PDT 2004
G. Nau wrote:
>
> And that's where I'm stuck:
> To avoid side effects to other tftp downloads from the same server I'd like to limit the
> case altering only to filenames containing '/winpe/'.
> So I'm looking for a way to exit with the success the reg. ex ruleset, if '/winpe/' is
> __not__ in the filename.
>
I think you can do this by doing:
rg (/winpe/.*)A \1a
rg (/winpe/.*)B \1b
... etc ...
but yes, it's hideously ugly. I'll see what I can do to make this cleaner.
-hpa
More information about the Syslinux
mailing list