Re: Standard library progress

new topic     » goto parent     » topic index » view thread      » older message » newer message

c.k.lester wrote:
> 
> Okay, no... we need a separate set of functions.
> 
> find_wildcard( w, str )
> 
> which would basically return the position (start and end) of the first
> matching string segment.
> 
> x = find_wildcard( "{*}", "Madlibs let's you {verb} a story!" )
> -- x = { 19, 24 }

Yes, that seems reasonable. I don't want to sound pushy, but do you have that
function or an idea how it would work? It'd be great if you could create it, the
docs and a few tests to prove it works. You could then commit it smile If not, I'll
add it to my list of functions to find/create.

--
Jeremy Cowgar
http://jeremy.cowgar.com

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu