summary refs log tree commit diff stats
path: root/lib/pure/strutils.nim
Commit message (Collapse)AuthorAgeFilesLines
* fixes strutils.unescape; refs #3634Andreas Rumpf2016-01-171-5/+5
|
* fixed float formatting for jsYuriy Glukhov2015-11-261-24/+39
|
* Fix loop index bug in scan for a[s] in b[s..s+len2-1].Charles Blake2015-11-191-1/+1
| | | | | | a, b must both be indexed starting from s after the common prefix "strip" phase. This resolves issue 3477: https://github.com/nim-lang/Nim/issues/3477
* add {.pop.} for {.push debugger:off.} to balance push/popJamesP2015-10-141-1/+3
|
* Made strutils string test procs less redundant.Joey Payne2015-10-101-49/+49
|
* Added tests for string test procs.Joey Payne2015-10-101-0/+52
|
* Changed alphanumeric check to "or" instead of "and".Joey Payne2015-10-101-1/+1
|
* Added useful procs to strutils for string testing.Joey Payne2015-10-091-0/+126
| | | | | | | | | | | Added procs: isAlpha isAlphaNumeric isDigit isSpace isUpper isLower
* strutils: wrap too long linesAraq2015-10-061-8/+14
|
* Implement strutils.indentDominik Picheta2015-09-111-0/+18
|
* formatFloat takes an optional decimalSep parameterAraq2015-09-011-10/+17
|
* Add extern pragmaZach Aysan2015-07-211-3/+5
|
* Add docsZach Aysan2015-07-211-0/+27
|
* Switch to removeSuffix name and modify the string in placeZach Aysan2015-07-211-46/+27
|
* Create Ruby-like chomp proc to allow for easy string ending removalZach Aysan2015-07-171-1/+46
|
* renamed writeln to writeLine in libpatrick dw2015-06-191-6/+6
|
* lib/pure/p-t - Dropped 'T' from typespdw2015-06-041-1/+2
|
* Add arbitrary char support to the strutils proc. Issue #2626msmith4912015-04-301-7/+13
|
* fixes #2517Araq2015-04-251-1/+2
|
* Turn some test outputs into actual testsOleh Prypin2015-04-211-3/+7
|
* Don't run non-test code when defined(testing)Oleh Prypin2015-04-211-4/+6
|
* Use more Natural and Positive numbers in proc parametersdef2015-04-061-21/+21
| | | | | - Didn't go through all modules, only the main ones I thought of - Building the compiler and tests still work
* Replaced repeatStr() and repeatChar() with more natural versions.Hans Raaf2015-03-031-10/+31
|
* Fixing toHex() to not wrap for long lens.Hans Raaf2015-02-181-3/+5
| | | | | | | If you specify a len like 32 toHex() will repeat the given value in the output. Besides that I believe my implementation is easier and seems not to change how negative numbers are handled. I also handle the case of wrapping negative number beyond BiggestInt to "do it right".
* Fix typosFederico Ceratto2015-02-151-5/+5
|
* fixes #2041Araq2015-01-311-6/+8
|
* strutils.rfind via chardyu2014-12-191-0/+10
|
* merged things from develAraq2014-09-121-0/+35
|\
| * overlapping as a parameter for count insteaddef2014-07-281-17/+9
| |
| * Add count procedures to strutilsdef2014-07-231-0/+43
| |
* | Nimrod renamed to NimAraq2014-08-281-3/+3
| |
* | more modules updatedAraq2014-08-281-5/+5
| |
* | big renameAraq2014-08-281-2/+2
| |
* | big renameAraq2014-08-271-43/+45
| |
* | renamefestAraq2014-08-231-10/+10
|/
* Homogenizes docstrings for strutils module.Grzegorz Adam Hankiewicz2014-07-181-94/+156
| | | | | | This mostly involves separating the short description string from the full description block, capitalizing it, and adding any worthwhile hyperlinks to other symbols.
* Mentions countLines() may return unexpected values.Grzegorz Adam Hankiewicz2014-07-181-6/+20
|
* Change wordwrap to remove separators at newlinesdef2014-07-091-1/+7
|
* Hyperlinks back JavaScript target.Grzegorz Adam Hankiewicz2014-06-211-0/+2
|
* Adds split proc for strings with a string separator.Dominik Picheta2014-04-111-0/+20
|
* Adds AllChars constant to strutils.Grzegorz Adam Hankiewicz2014-01-221-0/+10
|
* 'nil' as a statement is deprecated, use an empty 'discard' insteadAraq2014-01-191-1/+1
|
* case consistency: next stepsAraq2013-12-291-1/+1
|
* improvements for 'pretty'Araq2013-12-281-10/+10
|
* case consistency part 4Araq2013-12-271-1106/+1106
|
* case consistency part 1Araq2013-12-271-9/+9
|
* Merge branch 'master' of https://github.com/Araq/Nimrod into vm2Araq2013-12-231-1/+3
|\ | | | | | | | | Conflicts: web/news.txt
| * Deprecate quoteIfContainsWhite in favor of osproc.quoteShell.Michał Zieliński2013-12-101-1/+3
| |
| * Reverts "Make quoteIfContainsWhite quote…". Refs #702.Grzegorz Adam Hankiewicz2013-12-101-43/+8
| | | | | | | | | | This reverts commit e7e8c7706240c4bef17533da63df988d228ba127 to avoid tool breakage. A different approach is being worked on #730.
| * Make quoteIfContainsWhite quote argument, so it can be safely passed to shell.Michał Zieliński2013-12-071-8/+43
| | | | | | | | | | | | | | | | On Windows put it in double quotes and escape double quotes using backslash. On Posix put it in single quotes and escape single quotes using '"'"'. This commit changes what quoteIfContainsWhite does, but before that change it was used incorrectly all over standard library, which caused security issues.