README: 'new line' -> 'newline' (#47)

This commit is contained in:
Piper Chester 2017-08-14 09:41:02 -04:00 committed by Zeeshan Ahmed
parent 22c6868755
commit 7b76a4a726

View File

@ -103,7 +103,7 @@ The meta characters are as follows:
## 2.1 Full stop
Full stop `.` is the simplest example of meta character. The meta character `.` matches any single character. It will not match return
or new line characters. For example, the regular expression `.ar` means: any character, followed by the letter `a`, followed by the
or newline characters. For example, the regular expression `.ar` means: any character, followed by the letter `a`, followed by the
letter `r`.
<pre>
@ -260,7 +260,7 @@ or lowercase character `c`, followed by lowercase character `a`, followed by low
Backslash `\` is used in regular expression to escape the next character. This allows to to specify a symbol as a matching character
including reserved characters `{ } [ ] / \ + * . $ ^ | ?`. To use a special character as a matching character prepend `\` before it.
For example, the regular expression `.` is used to match any character except new line. Now to match `.` in an input string the regular
For example, the regular expression `.` is used to match any character except newline. Now to match `.` in an input string the regular
expression `(f|c|m)at\.?` means: lowercase letter `f`, `c` or `m`, followed by lowercase character `a`, followed by lowercase letter
`t`, followed by optional `.` character.