Use of _ in string causes sdssplitlen() to return no tokens
Open
- Dominant language
- C
- Stars
- 5.6k
- Forks
- 510
- PR merge metrics
- No merged PRs in 30d
Description
Thank you for a fantastic library!!
One minor possible issue:
I am using sdssplitlen() to parse out the elements of a path+file string, as in:
/DIR1/DIR2/this_isafile.txt <-- cTempString
tokens = sdssplitlen(cTempString,sdslen(cTempString),"/",1,&count);
With an underscore in the string, sdssplitlen() returns NULL.
Haven't single-step debugged it yet. For now, avoiding using filenames with _
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.