Re: StringCases and Shortest
- To: mathgroup at smc.vnet.net
- Subject: [mg97385] Re: StringCases and Shortest
- From: Raffy <raffy at mac.com>
- Date: Thu, 12 Mar 2009 02:19:12 -0500 (EST)
- References: <gp8047$1k9$1@smc.vnet.net>
Similar to Jens fix above: StringCases["(--(a)--(bb)---(c)-", RegularExpression["\\([^\\(]+?\ \)"]] (I'm not sure how to do the equivalent with Except in StringExpression notation.)