Fix spelling errors and capitalization.
This commit is contained in:
@@ -381,7 +381,7 @@ extern crate rand;
|
||||
#[cfg(test)]
|
||||
extern crate regex;
|
||||
|
||||
// unicode tables for character classes are defined in libunicode
|
||||
// Unicode tables for character classes are defined in libunicode
|
||||
extern crate unicode;
|
||||
|
||||
pub use parse::Error;
|
||||
|
||||
@@ -620,9 +620,9 @@ impl<'a> Parser<'a> {
|
||||
}
|
||||
}
|
||||
|
||||
// Parses a unicode character class name, either of the form \pF where
|
||||
// F is a one letter unicode class name or of the form \p{name} where
|
||||
// name is the unicode class name.
|
||||
// Parses a Unicode character class name, either of the form \pF where
|
||||
// F is a one letter Unicode class name or of the form \p{name} where
|
||||
// name is the Unicode class name.
|
||||
// Assumes that \p or \P has been read (and 'p' or 'P' is the current
|
||||
// character).
|
||||
fn parse_unicode_name(&mut self) -> Result<Ast, Error> {
|
||||
|
||||
@@ -364,7 +364,7 @@ impl<'t> CharReader<'t> {
|
||||
}
|
||||
|
||||
/// Sets the previous and current character given any arbitrary byte
|
||||
/// index (at a unicode codepoint boundary).
|
||||
/// index (at a Unicode codepoint boundary).
|
||||
#[inline]
|
||||
pub fn set(&mut self, ic: uint) -> uint {
|
||||
self.prev = None;
|
||||
|
||||
Reference in New Issue
Block a user