lix/doc/manual
Nicolas B. Pierron b8867a0239 Add builtins.string function.
The function 'builtins.split' takes a POSIX extended regular expression
and an arbitrary string. It returns a list of non-matching substring
interleaved by lists of matched groups of the regular expression.

```nix
with builtins;
assert split "(a)b" "abc"      == [ "" [ "a" ] "c" ];
assert split "([ac])" "abc"    == [ "" [ "a" ] "b" [ "c" ] "" ];
assert split "(a)|(c)" "abc"   == [ "" [ "a" null ] "b" [ null "c" ] "" ];
assert split "([[:upper:]]+)" "  FOO   "
                               == [ "  " [ "FOO" ] "   " ];
```
2017-08-15 20:04:11 +00:00
..
advanced-topics Remove $NIX_BUILD_HOOK and $NIX_CURRENT_LOAD 2017-05-01 17:30:16 +02:00
command-ref replace "Mac OS X" with "macOS" 2017-07-30 12:26:17 +02:00
expressions Add builtins.string function. 2017-08-15 20:04:11 +00:00
figures Fix corrupt PNG 2013-08-21 12:53:51 +02:00
glossary glossary: Fix word order 2017-07-07 22:07:46 +02:00
images/callouts Add docbook icons to the distribution 2014-04-09 14:52:43 +02:00
installation replace "Mac OS X" with "macOS" 2017-07-30 12:26:17 +02:00
introduction replace "Mac OS X" with "macOS" 2017-07-30 12:26:17 +02:00
packages Remove nix-install-package. 2016-08-10 08:20:51 -04:00
release-notes Start of 1.12 release notes 2017-08-10 18:44:45 +02:00
troubleshooting ReiserFS -> ext4 2014-12-13 23:23:19 +01:00
hacking.xml Add shell.nix 2016-12-06 17:17:29 +01:00
local.mk Add a new option to disable documentation generation at configure time 2016-09-20 14:34:43 +00:00
manual.xml edition -> subtitle 2015-01-02 12:53:32 +01:00
nix-lang-ref.xml * Various updates. 2009-11-05 09:07:43 +00:00
quote-literals.xsl Generate release notes again 2014-03-12 14:24:29 +01:00
schemas.xml * Document setuid Nix installs. 2004-10-31 17:08:48 +00:00
style.css Style 2014-12-13 23:21:14 +01:00