MatchPattern

Report any Hollywood bugs here
Post Reply
djrikki
Posts: 682
Joined: Wed Apr 06, 2011 12:26 am

MatchPattern

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

Re: MatchPattern

Post 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.
Post Reply