| Class | Line # | Actions | |||
|---|---|---|---|---|---|
| MultiMin | 14 | 2 | 1 |
| 1 | // | |
| 2 | // This software is now distributed according to | |
| 3 | // the Lesser Gnu Public License. Please see | |
| 4 | // http://www.gnu.org/copyleft/lesser.txt for | |
| 5 | // the details. | |
| 6 | // -- Happy Computing! | |
| 7 | // | |
| 8 | package com.stevesoft.pat; | |
| 9 | ||
| 10 | /** | |
| 11 | * This extension of multi is the version of multi which wants to match the | |
| 12 | * fewest number of characters. It implements the *? type of syntax. | |
| 13 | */ | |
| 14 | class MultiMin extends Multi | |
| 15 | { | |
| 16 | 0 | MultiMin(patInt i1, patInt i2, Pattern p) throws RegSyntax |
| 17 | { | |
| 18 | 0 | super(i1, i2, p); |
| 19 | 0 | matchFewest = true; |
| 20 | } | |
| 21 | }; |