about summary refs log tree commit diff
path: root/lib/strings.nix
AgeCommit message (Expand)AuthorFilesLines
2022-12-17lib: fix typosfigsoda1-2/+2
2022-12-15lib.replaceChars: warn about being a deprecated aliasArtturin1-17/+6
2022-12-11Merge pull request #205457 from h7x4/lib-strings-toInt-broken-for-negative-nu...Robert Hensing1-6/+7
2022-12-10lib.strings: fix negative number handling for `toInt` and `toIntBase10`h7x41-6/+7
2022-12-08Merge pull request #204087 from ncfavier/splitString-simplifyNaïm Favier1-6/+4
2022-12-06lib/strings.nix: add mesonOption utility functionAndersonTorres1-0/+55
2022-12-02lib/strings: simplify `splitString`Naïm Favier1-6/+4
2022-10-24Merge pull request #173949 from jacoblambda/fix-toInt-zero-paddingRobert Hensing1-6/+87
2022-10-24lib.normalizePath: the empty string is not a valid regex on darwinGuillaume Girol1-1/+1
2022-10-23lib/strings: Update docs and restructured code to improve readability of toIn...Jacob Abel1-21/+37
2022-10-23lib/strings: Improve error message for octal ambiguity in toIntJacob Abel1-3/+2
2022-10-23lib/strings: Refactor toInt into toInt and toIntBase10Jacob Abel1-3/+51
2022-10-23lib/strings: Update toInt to handle intermixed ws and zeros. Added testsJacob Abel1-7/+13
2022-10-23lib/strings: allow toInt to parse zero-padded stringsJacob Abel1-4/+16
2022-10-20lib.strings: Add normalizePathajs1241-0/+10
2022-10-20lib.strings: Add function to do C-style escapingDaniel Olsen1-0/+13
2022-10-20lib.strings: Add function to convert character to numberDaniel Olsen1-0/+15
2022-05-07lib/strings/toShellVars: handle derivations as stringsNaïm Favier1-4/+5
2022-05-01lib/strings: convert to string within hasInfixDaniel Thwaites1-1/+1
2022-04-27lib/strings: fix quoting of exampleNaïm Camille Favier1-1/+1
2022-04-27lib/strings: add toShellVarsNaïm Favier1-0/+60
2022-04-22lib/strings: optimise hasInfix function (#168175)Daniel Thwaites1-4/+1
2022-04-05Merge pull request #166383 from hercules-ci/always-sanitize-derivation-nameRobert Hensing1-1/+8
2022-04-05lib.sanitizeDerivationName: Simplify regexRobert Hensing1-1/+1
2022-04-01lib/strings: Add levenshtein distance functionsSilvan Mosberger1-0/+127
2022-03-31lib.sanitizeDerivationName: Optimize the common caseRobert Hensing1-1/+8
2021-11-02lib: fix escapeXML example in documentationRobert Helgesson1-1/+1
2021-10-03lib: add function escapeXMLRobert Helgesson1-0/+13
2021-08-26lib/strings: fix infinite recursion on concatStringsSep fallbackpolykernel1-1/+1
2021-07-04strings.nix: Fix overly monomorphic type signature commentsNiklas Hambüchen1-2/+2
2021-05-07lib/strings: forbid lists in isStorePathsternenseemann1-1/+1
2021-05-07lib/strings: fix example for isStorePathsternenseemann1-1/+1
2021-05-01lib: fix documented type of fixedWidthString (#121396)Lennart Spitzner1-1/+1
2021-04-28treewide: use lib.warnIf where appropriateAlyssa Ross1-2/+2
2020-12-05lib/string: drop redundant string in description of toInt.Alex Brandt1-1/+1
2020-12-04lib/strings: fix typo in exampleAlex Brandt1-2/+2
2020-12-03lib/strings: fix examples for enableFeatureAsAlex Brandt1-2/+2
2020-11-11Merge pull request #44928 from vcunat/p/configure-assertEelco Dolstra1-2/+6
2020-10-22lib: Use Nix's static scope checking, fix error message, optimizeRobert Hensing1-21/+43
2020-10-18lib.splitString: use builtin.splitEtienne Laurin1-21/+14
2020-09-03lib/strings: deprecate readPathsFromFileV1-8/+9
2020-07-25lib/strings: Add floatToStringSilvan Mosberger1-0/+16
2020-04-13lib/strings: Introduce escapeNixIdentifierSilvan Mosberger1-0/+15
2020-04-02Merge pull request #83241 from Infinisil/valid-drv-nameSilvan Mosberger1-0/+32
2020-03-30lib/strings: Add sanitizeDerivationName functionSilvan Mosberger1-0/+32
2020-02-05Revert "Revert "Merge master into staging-next""Frederik Rietdijk1-1/+1
2020-02-05Revert "Merge master into staging-next"Frederik Rietdijk1-1/+1
2020-02-05lib/strings: fix comment typoRobert Helgesson1-1/+1
2019-11-24lib: Add getName to mirror getVersionJohn Ericson1-0/+17
2019-03-18Doc fix: use correct function name in type signature for concatIMapStringsSepNathan van Doorn1-1/+1