Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

findSubstring output improvement #46

Closed
dakusui opened this issue May 15, 2022 · 0 comments
Closed

findSubstring output improvement #46

dakusui opened this issue May 15, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@dakusui
Copy link
Owner

dakusui commented May 15, 2022

Following is the "as-is" output.

.ASIS

    "Gallia est omnis divis...Bello Gallicco."->transform
                                                  findTokens                       ->"Gallia est omnis divis...Bello Gallicco."
                                                  identity                         ->"Gallia est omnis divis...Bello Gallicco."
                                                VERIFY
                                                  &&                               ->true
                                                    findTokenBy[substring[Gallia]] ->true
    " est omnis divisa in p...Bello Gallicco."->    findTokenBy[substring[quarum]] ->true
[0] " unum incolunt Belgae,...Bello Gallicco."->    findTokenBy[substring[Belgium]]->true
                                                    findTokenBy[substring[nostra]] ->true
    " Galli Appellantur. De Bello Gallicco."  ->    findTokenBy[substring[De]]     ->true
[1] " Bello Gallicco."                        ->    findTokenBy[substring[Bellum]] ->true
                                                    (end)                          ->true

.Detail of failure [0]
----
Gallia est omnis divisa in partes tres, quarum
<<NOTFOUND:substring[Belgium]>>
 unum incolunt Belgae, aliam Acquitanii, tertiam nostra Galli Appellantur. De Bello Gallicco.
----

.Detail of failure [1]
----
Gallia est omnis divisa in partes tres, quarum unum incolunt Belgae, aliam Acquitanii, tertiam nostra Galli Appellantur. De
<<NOTFOUND:substring[Bellum]>>
 Bello Gallicco.
----

I want to make it like following.

.TOBE

    "Gallia est omnis divis...Bello Gallicco."->transform
                                                  findTokens                       ->"Gallia est omnis divis...Bello Gallicco."
                                                  identity                         ->"Gallia est omnis divis...Bello Gallicco."
                                                VERIFY
                                                  &&                               ->false
                                                    findTokenBy[substring[Gallia]] ->true
    " est omnis divisa in p...Bello Gallicco."->    findTokenBy[substring[quarum]] ->true
[0] " unum incolunt Belgae,...Bello Gallicco."->    findTokenBy[substring[Belgium]]->false
                                                    findTokenBy[substring[nostra]] ->true
    " Galli Appellantur. De Bello Gallicco."  ->    findTokenBy[substring[De]]     ->true
[1] " Bello Gallicco."                        ->    findTokenBy[substring[Bellum]] ->false
[2]                                                   (end)                          ->false

.Detail of failure [0]
----
Gallia est omnis divisa in partes tres, quarum
<<NOTFOUND:substring[Belgium]>>
 ----

.Detail of failure [1]
----
...Galli Appellantur. De
<<NOTFOUND:substring[Bello]>>
----
.Detail of failure [2]
----
 Bello Gallicco.
----
@dakusui dakusui added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels May 15, 2022
@dakusui dakusui self-assigned this May 15, 2022
dakusui added a commit that referenced this issue Sep 12, 2022
…perties in quickstart.adoc and synchronize the example output.
@dakusui dakusui closed this as completed Dec 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant