Skip to content

Conversation

@Bi0T1N
Copy link

@Bi0T1N Bi0T1N commented Mar 13, 2020

Please note that it seems that the function TFLRE.Split() is not working as intended
because the examples in SplitStrings are not showing anything

Actual output:

*- Examples for Match/MatchAll -*
        - Only anchored Result(s) with Match -
                17. June 2016
                13. November 2016
                1. April 2016
        - Only first Result with MatchAll -
                17. June 2016
                13. November 2016
                14. June 2016
                1. April 2016
        - All Results with MatchAll -
                17. June 2016
                13. November 2016
                17. March 2020
                14. June 2016
                1. April 2016

*- Examples for Match/MatchAll -*
        - Only anchored first Result(s) with Match -
        - Only first Result with MatchNext -
                brown
        - Only first Result with MatchAll -
                brown
        - All Results with MatchAll -
                brown
                fox
                dog

*- Examples for ExtractAll -*
        Word pair
        Word
        pair
        Pair Words
        Pair
        Words

*- Examples for named capturing groups -*
        Group: wholematch
        Match: 2019-10-24
        Group: year
        Match: 2019
        Group: month
        Match: 10
        Group: day
        Match: 24
                mm-yyyy is 10-2019

        Group: wholematch
        Match: brown fox

        Group: color
        Match: brown

        Group: animal
        Match: fox


*- Examples for Find -*
        Match found at Position: 5
        Match found at Position: 17
        Match found at Position: 0

*- Examples for Test -*
        Matches anchored?: False
        Matches anchored?: True
        Matches anchored?: False
        Matches anchored?: False
        Matches unanchored?: True
        Matches unanchored?: True
        Matches unanchored?: False

*- Examples for Replace -*
        2019-12-24
        No date anymore
        123-123-123
        \d+
        ([0-9]+)

*- Examples for converted regular expression -*
        \W\d\d   ->   ([\x00-/\x3a-@\x5b-\x5e\x60\x7b-\xff][0-9][0-9])
        \d+-\d+-\d+   ->   ([0-9]+\x2d[0-9]+\x2d[0-9]+)
        \d+   ->   ([0-9]+)

Bi0T1N added 2 commits March 13, 2020 22:39
it seems that the function TFLRE.Split() is not working as intended
because the examples in SplitStrings are not showing anything
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant