[ANN] Regex11 version 1.4

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[ANN] Regex11 version 1.4

Bany, Michel
[ANN] Regex11 version 1.4

All,
I have just published  Regex11 version 1.4 the Cincom Public Store Repository.
Compared with previous version (1.3.4) it has the following new features.

    VERSION 1.4 (April 2013)
    1. Support for explicitely numbered repetitions, with 39 tests added
    2. Tests can be fired from the Launcher tools menu
    3. All tests passed
    4. Updated Launcher menu items to enable logging during tests
    5. Enhanced the test tools to collect and re-run test failures
    6. Testing mechanics enhanced to support repeating capturing groups

The documentation contains the following new fragment

    Repetitions can also be represented explicitely using numbers
    - Exactly three occurences: {3}
    - Two to five occurences: {2,5}
    - Three or more occurences: {3,}
    - Zero, one or two occurences: {,2}

            'abbbc' matchesRegex: 'ab{3}c'          -- true
            'abc' matchesRegex: 'ab{2,5}c'          -- false: need at least two b
            'abbbbbbc' matchesRegex: 'ab{2,5}c'     -- false: may not have more than five b
            'abbbc' matchesRegex: 'ab{2,5}c'                -- true
            'abbbbbbc' matchesRegex: 'ab{3,}c'      -- true
            'ac' matchesRegex: 'ab{,2}c'            -- true

Feedback is welcome. Depending on the feedback, Cincom may include this new version on the release media.

Enjoy,
Michel.

__________________________________________
Michel Bany
Cincom Systems S.A.
Cours des Bastions 3 bis
1205 Genève

Switzerland
Tel.    +41 (0) 223 105 879
Skype   +33 (0) 970 444 870
Mobile  +33 (0) 608 933 306

Skype   michel.bany
http://www.cincom.com/smalltalk
[hidden email]


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [ANN] Regex11 version 1.4

jtuchel
Michel,

One more comment/question: I seem to remember that repetitions came to regex after version 1.1, so your implementation should probably not be called Regex11. IIRC, Vassily once chose the name VBRegex11 to indicate that it supports regex v1.1. I'd have to check on his old blog to prove that, however....

Joachim

"Bany, Michel" <[hidden email]> schrieb:

All,
I have just published  Regex11 version 1.4 the Cincom Public Store Repository.
Compared with previous version (1.3.4) it has the following new features.

    VERSION 1.4 (April 2013)
    1. Support for explicitely numbered repetitions, with 39 tests added
    2. Tests can be fired from the Launcher tools menu
    3. All tests passed
    4. Updated Launcher menu items to enable logging during tests
    5. Enhanced the test tools to collect and re-run test failures
    6. Testing mechanics enhanced to support repeating capturing groups

The documentation contains the following new fragment

    Repetitions can also be represented explicitely using numbers
    - Exactly three occurences: {3}
    - Two to five occurences: {2,5}
    - Three or more occurences: {3,}
    - Zero, one or two occurences: {,2}

            'abbbc' matchesRegex: 'ab{3}c'          -- true
            'abc' matchesRegex: 'ab{2,5}c'          -- false: need at least two b
            'abbbbbbc' matchesRegex: 'ab{2,5}c'     -- false: may not have more than five b
            'abbbc' matchesRegex: 'ab{2,5}c'                -- true
            'abbbbbbc' matchesRegex: 'ab{3,}c'      -- true
            'ac' matchesRegex: 'ab{,2}c'            -- true

Feedback is welcome. Depending on the feedback, Cincom may include this new version on the release media.

Enjoy,
Michel.

__________________________________________
Michel Bany
Cincom Systems S.A.
Cours des Bastions 3 bis
1205 Genève

Switzerland
Tel.    +41 (0) 223 105 879
Skype   +33 (0) 970 444 870
Mobile  +33 (0) 608 933 306

Skype   michel.bany
http://www.cincom.com/smalltalk
[hidden email]


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [ANN] Regex11 version 1.4

Bany, Michel
In reply to this post by Bany, Michel
For my contribution, I want to use the same license as Vassili, something like MIT I guess.


From: Joachim Tuchel [mailto:[hidden email]]
Sent: mercredi, 1. mai 2013 17:48
To: Bany, Michel
Cc: [hidden email]
Subject: Re: [vwnc] [ANN] Regex11 version 1.4

Michel,

That&apos;s great news!
What is the license of that code?

Joachim

"Bany, Michel" <[hidden email]> schrieb:

All,
I have just published  Regex11 version 1.4 the Cincom Public Store Repository.
Compared with previous version (1.3.4) it has the following new features.

    VERSION 1.4 (April 2013)
    1. Support for explicitely numbered repetitions, with 39 tests added
    2. Tests can be fired from the Launcher tools menu
    3. All tests passed
    4. Updated Launcher menu items to enable logging during tests
    5. Enhanced the test tools to collect and re-run test failures
    6. Testing mechanics enhanced to support repeating capturing groups

The documentation contains the following new fragment

    Repetitions can also be represented explicitely using numbers
    - Exactly three occurences: {3}
    - Two to five occurences: {2,5}
    - Three or more occurences: {3,}
    - Zero, one or two occurences: {,2}

            'abbbc' matchesRegex: 'ab{3}c'          -- true
            'abc' matchesRegex: 'ab{2,5}c'          -- false: need at least two b
            'abbbbbbc' matchesRegex: 'ab{2,5}c'     -- false: may not have more than five b
            'abbbc' matchesRegex: 'ab{2,5}c'                -- true
            'abbbbbbc' matchesRegex: 'ab{3,}c'      -- true
            'ac' matchesRegex: 'ab{,2}c'            -- true

Feedback is welcome. Depending on the feedback, Cincom may include this new version on the release media.

Enjoy,
Michel.

__________________________________________
Michel Bany
Cincom Systems S.A.
Cours des Bastions 3 bis
1205 Genève

Switzerland
Tel.    +41 (0) 223 105 879
Skype   +33 (0) 970 444 870
Mobile  +33 (0) 608 933 306

Skype   michel.bany
http://www.cincom.com/smalltalk
[hidden email]


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc