| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| function parseMetadata() { | ||
| parseComment(); | ||
| metadata.lastIndex = pos; | ||
| while (metadata.exec(source)) pos = metadata.lastIndex; |
| pos = valueStart.lastIndex; | ||
|
|
||
| valueLine.lastIndex = pos; | ||
| const m = valueLine.exec(source); |
| valueIndent.lastIndex = pos; | ||
| if (!valueIndent.test(source)) break; | ||
| valueLine.lastIndex = valueIndent.lastIndex; | ||
| const m = valueLine.exec(source); |
| const lineEnd = /[\t ]*\r?\n/y; | ||
| function parseLineEnd(context: string) { | ||
| lineEnd.lastIndex = pos; | ||
| if (lineEnd.exec(source)) { |
| Back | FazBrowse Home | New Git URL |
Filing initially as draft, as this relies on an upstream spec change to allow for empty lines within an entry. Also, I'll likely pile on some more related changes to this PR.
Adds the following new functions to the @messageformat/resource package:
CC @lucacasonato