Named Matches

Post Reply
Elriond
Posts: 6
Joined: Wed Dec 23, 2009 12:16 am

Named Matches

Post by Elriond »

I don't know about the rest of you, but the one thing i miss from mushclient is naming wildcards. It can get quite annoying to figure out which matches[] you want when you're scripting/etc, especially for those complicated matches. For me i like to have things organized and simplified with naming wildcards. It's really just an ease of use thing, but I would definitely use it every time.

User avatar
Vadi
Posts: 5042
Joined: Sat Mar 14, 2009 3:13 pm

Re: Named Matches

Post by Vadi »

Brought it up before, here's what came out:
(09:29:06 PM) _heiko: correct answer would be that named patterns would just slow things down because we'd hve to use keys in matches[] the keys would be the named patterns
(09:29:53 PM) _heiko: -> prolly not going to happen anytime soon
Personally I use kiki (http://code.google.com/p/kiki-re/downloads/list) for figuring out which matches are numbered and set them into vars before the script does it's work. Helps with those complex nested wildcards.

Elriond
Posts: 6
Joined: Wed Dec 23, 2009 12:16 am

Re: Named Matches

Post by Elriond »

Thank you, that should save me some time.

Post Reply