Moving functions from lib.rs to re.rs
Be slightly more precise.
Initial cut at syntax doco.