[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Testsuite Patches: Part 2: test ranges as args to testsuite
From: |
Pavel Roskin |
Subject: |
Re: Testsuite Patches: Part 2: test ranges as args to testsuite |
Date: |
Thu, 15 Feb 2001 20:58:22 -0500 (EST) |
Hello, Tim!
> Supported:
>
> 15-: all tests from nr 15 onward
> -15: all tests up to nr 15
> 15-45: tests 15 through 45
The idea is good, but the implementation seems to be too complicated.
> + [[0-9]- | [0-9][0-9]- | [0-9][0-9][0-9]- | [0-9][0-9][0-9][0-9]-])
Do you know about '?' in regular expressions? Unless I'm missing
something, the line above is equivalent to
[[0-9][0-9]?[0-9]?[0-9]?-])
> + [[0-9]-[0-9] | [0-9]-[0-9][0-9] | [0-9]-[0-9][0-9][0-9]] | \
The same applies here. By the way, you probably should quote the whole
block instead of separate lines.
Regards,
Pavel Roskin