Optional pattern?
Posted: Mon Nov 07, 2005 3:22 am
Hi.
Help me please to design a pattern with optional subpatterns.
I have a number of identical string, but with different lenth. When I set number of subpatterns to the lenth of shortest string, I lost some data at the end of long lines. But when I add the number of subpatterns to get additional data in long string I lost small lines at all because it doesn't have so much number of subpatterns. How can I design an optional subpattern?
Help me please to design a pattern with optional subpatterns.
I have a number of identical string, but with different lenth. When I set number of subpatterns to the lenth of shortest string, I lost some data at the end of long lines. But when I add the number of subpatterns to get additional data in long string I lost small lines at all because it doesn't have so much number of subpatterns. How can I design an optional subpattern?