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.
MatchPattern
MatchPattern
Evolve - Rapid GUI Development tool for MUI Royale and RapaGUI
http://myevolve.wordpress.com
http://myevolve.wordpress.com
- airsoftsoftwair
- Posts: 5871
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: MatchPattern
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.