string pattern search
- To: mathgroup at smc.vnet.net
- Subject: [mg57305] string pattern search
- From: zak <chocolatez at gmail.com>
- Date: Tue, 24 May 2005 05:12:42 -0400 (EDT)
- Reply-to: zak <chocolatez at gmail.com>
- Sender: owner-wri-mathgroup at wolfram.com
Hi
how to search for the pattern "abc" in the string "aiibbaecXXacarbiiicc"
and the letters space between a,b,c is not important, so the output will be:
1-when overlapping not allowed:
{aiibbaec},{acarbiiic}
2-and when we consider overlapping:
{aiibbaec},{aecXXacarbiiic},{acarbiiic},{arbiiic}
regards
- Follow-Ups:
- Re: string pattern search
- From: Igor Antonio <igora@wolf-ram.com>
- Re: string pattern search