Page 1 of 1

MatchPattern

Posted: Mon May 09, 2011 5:14 pm
by djrikki
Hello,

Not so much a bug, but misdocumented.

For nearly an hour I struggled to get the damn thing working.

Finally I tried changing *.jpg to #?.jpg and suddenly it worked!

Andreas, can you please update the documentation or upgrade the function to accept *.jpg as a valid pattern when running under AmigaOS.

Cheers.

Re: MatchPattern

Posted: Thu May 19, 2011 12:13 am
by airsoftsoftwair
MatchPattern() is currently limited to AmigaDOS wildcards. That's why *.jpg doesn't work correctly. The whole pattern matching routines of Hollywood are subject to change in the future because they're not portable. I need to devise some platform independent pattern matching solution.