Added namedGroups property to Regex struct.

Extended NamedGroupRange to be a random access and forward range, and added length memeber.

Changed name of namedGroups property to namedCaptures
Fix & improve readln, File.readln docs

Purge phantom fp parameter.
Add missing parameters and throws info.
Fix File.readln(buf) example to use char[] buf for reuse, not string.
Fix swapped readln() and File.readln() examples.
Separate readln() and readln(buf) docs because the behaviour and
return types are different.
Use 'void main' instead of 'int main' in examples
Change 'is reused' to 'you can reuse' for clarity
Fix note about retaining buffer contents
Change File.readln(buf) example not to idup each line

Now lines starting with '#' are ignored.
Lines starting with 'q' no longer end the program.
Simplify File.readln(buf) example using a single output string

This is probably more performant than an array of idup'ped strings.
(Suggested by Steven Schveighoffer).
Merge pull request #1380 from ntrel/stdio-doc-fixes

Fix & improve readln, File.readln docs
Specifically check for 192-bit option in std.random.XorshiftEngine.
Correct typo in Xorshift32 which was leading to non-uniform behaviour.

The original typo derives directly from George Marsaglia's paper
introducing the Xorshift RNGs.  The original checking values, derived
from that code, thus also reflect the typo.

A corrected version of the reference code is available from
https://github.com/WebDrake/xorshift/ and has been used to
generate the updated checking values.
Correct typo in Xorshift160 which was leading to non-uniform behaviour.

The original typo derives directly from George Marsaglia's paper
introducing the Xorshift RNGs.  The original checking values, derived
from that code, thus also reflect the typo.

A corrected version of the reference code is available from
https://github.com/WebDrake/xorshift/ and has been used to
generate the updated checking values.
Merge pull request #1403 from WebDrake/xorshift

Fix Issue 10550 - Xorshift32 and Xorshift160 do not generate uniformly-distributed random numbers
Double safety check for Xorshift bit values.
Make Xorshift bit-related error messages more informative.
Add workaround to fix issue 10567

Currently VariantN does not support const objects comparison. So just add specialized opCmp member and use cast().
Merge pull request #1404 from WebDrake/xorshift

Double safety check for Xorshift bit values.
Remove bug 9578 workaround

Because the compiler bug was fixed recently.

---
Revert "Merge pull request #1178 from denis-sh/add-Issue-9578-workaround-to-`std.algorithm.all`"

This reverts commit 8dbfc1a7382792e039c8f1d7f5f5232279dead04, reversing
changes made to 93c724f2a36a798985dc1d82b050899455c8de4c.
Improve byLine doc

Move byLine examples from ByLine to byLine.
Fix LinesReader typo.
Explain that lines will not persist when using a mutable type for Char.
Document parameters.
Merge pull request #1405 from 9rnsr/fix10567

Add workaround to fix issue 10567
Make byLine return an opaque type

File.ByLine is still visible for backwards compatibility, but no longer
documented.