#3230 charset empty match bug

obsolete: 8.4.11
closed-fixed
23. [scan] (15)
5
2005-10-05
2005-08-31
Don Porter
No

dgp % scan 1foo {%d%[xyz]fo%s}
1 {} {}
[11:07] Cameron checks into the chat.
[11:08] dgp % scan 1foo {%dfo%s}
1 o
[11:09] dgp docs say "input field consists of any
number of characters in *chars*"
[11:09] dgp but apparently "any number" does not
include zero ?
[11:10] suchenwi Well, "1foo" contains {} as any number
of [xyz]...
[11:10] suchenwi which is 0
[11:10] dgp yes, and then [scan]ning aborts.
[11:11] suchenwi Ah right, the final "o" gets lost.

If this is just a documentation error, suggest
"one or more" rather than "any number".

Discussion

  • Jeffrey Hobbs

    Jeffrey Hobbs - 2005-10-05
    • status: open --> closed-fixed
     
  • Jeffrey Hobbs

    Jeffrey Hobbs - 2005-10-05

    Logged In: YES
    user_id=72656

    Fixed in docs for 8.5a4.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks