Skip to content

Commit

Permalink
docs: fix bad doc blocks and some formatting mistakes
Browse files Browse the repository at this point in the history
  • Loading branch information
lddubeau committed Jul 23, 2018
1 parent ed1f4d9 commit 3c538e9
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/xmlchars.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
*/

/**
* Character classes for XML 1.0.
* Character class utilities for XML 1.0.
*/
export namespace XML_1_0 {
/*
/**
* Fifth edition.
*/
export namespace ED5 {
export namespace ED5 {
/**
* Regular expression fragments. These fragments are designed to be included
* inside square brackets in a regular expression.
Expand Down Expand Up @@ -51,14 +51,15 @@ export namespace XML_1_0 {

export const NMTOKEN = new RegExp(`^[${fragments.NAME_CHAR}]+$`, "u");
}
}

/*
}

/**
* Fourth edition. These are deprecated in the 5th edition but some of the
* standards related to XML 1.0 (e.g. XML Schema 1.0) refer to these. So they
* are still generally useful.
*/
export namespace ED4 {
export namespace ED4 {
/**
* Regular expression fragments. These fragments are designed to be included
* inside square brackets in a regular expression.
Expand Down

0 comments on commit 3c538e9

Please sign in to comment.