Skip to content

Commit

Permalink
Fixed docs, bower.json
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxArt2501 committed Apr 19, 2015
1 parent 3a94db5 commit 2531656
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 0 deletions.
30 changes: 30 additions & 0 deletions bower.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"name": "re-build",
"main": "re-build.js",
"version": "0.0.1",
"homepage": "https://github.com/MaxArt2501/re-build",
"authors": [
"Massimo Artizzu <[email protected]>"
],
"description": "Building regular expressions with natural language",
"moduleType": [
"amd",
"globals",
"node"
],
"keywords": [
"regex",
"regular-expression",
"regexp",
"composition",
"builder"
],
"license": "MIT",
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"test",
"tests"
]
}
2 changes: 2 additions & 0 deletions doc/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ These words can be used in both "open" sequences or inside character sets. They
* **`vTab`** `\v`
* **`formFeed`** `\f`
* **`null`** `\0`
* **`slash`** `\/`
* **`backslash`** `\\`
* **`ascii(code)`**

An ASCII escape sequence (`\xhh`). `code` must be an integer between 0 and 255. It it then converted as two hexadecimal digits in the sequence.
Expand Down
2 changes: 2 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ Name | Result | Notes
`vTab` | `\v` | vertical tab
`formFeed` | `\f` |
`null` | `\0` |
`slash` | `\/` |
`backslash` | `\\` |
`backspace` | `\b` | can be used in character sets `[...]' *only*

The first four names can be negated prefixing them with `not` to get the complementary meaning:
Expand Down

0 comments on commit 2531656

Please sign in to comment.