Skip to content

Commit a3e42f1

Browse files
committed
Update headings and resolve lint errors
1 parent 25b3344 commit a3e42f1

File tree

33 files changed

+55
-57
lines changed

33 files changed

+55
-57
lines changed

lib/node_modules/@stdlib/regexp/basename-posix/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ limitations under the License.
1818
1919
-->
2020

21-
# Basename
21+
# reBasenamePosix
2222

2323
> [Regular expression][regexp] to capture the last part of a [POSIX][posix] path.
2424

lib/node_modules/@stdlib/regexp/basename-windows/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ limitations under the License.
1818
1919
-->
2020

21-
# Basename
21+
# reBasenameWindows
2222

2323
> [Regular expression][regexp] to capture the last part of a Windows path.
2424

lib/node_modules/@stdlib/regexp/basename/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ limitations under the License.
1818
1919
-->
2020

21-
# Basename
21+
# reBasename
2222

2323
> [Regular expression][regexp] to capture the last part of a path.
2424

lib/node_modules/@stdlib/regexp/color-hexadecimal/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ limitations under the License.
1818
1919
-->
2020

21-
# Hexadecimal Color
21+
# reColorHexadecimal
2222

2323
> [Regular expression][mdn-regexp] to match a hexadecimal color.
2424

lib/node_modules/@stdlib/regexp/decimal-number/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ limitations under the License.
1818
1919
-->
2020

21-
# Decimal Number
21+
# reDecimalNumber
2222

2323
> [Regular expression][mdn-regexp] to match a decimal number.
2424

lib/node_modules/@stdlib/regexp/dirname-posix/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ limitations under the License.
1818
1919
-->
2020

21-
# Dirname
21+
# reDirnamePosix
2222

2323
> [Regular expression][regexp] to capture a [POSIX][posix] path [dirname][dirname].
2424

lib/node_modules/@stdlib/regexp/dirname-windows/README.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ limitations under the License.
1818
1919
-->
2020

21-
# Dirname
21+
# reDirnameWindows
2222

2323
> [Regular expression][regexp] to capture a Windows path [dirname][dirname].
2424
@@ -37,7 +37,7 @@ Returns a [regular expression][regexp] to capture a Windows path [dirname][dirna
3737
```javascript
3838
var RE_DIRNAME_WINDOWS = reDirnameWindows();
3939
var dir = RE_DIRNAME_WINDOWS.exec( 'foo\\bar\\index.js' )[ 1 ];
40-
// returns 'foo\\bar'
40+
// returns 'foo\bar'
4141
```
4242

4343
#### reDirnameWindows.REGEXP
@@ -46,7 +46,7 @@ var dir = RE_DIRNAME_WINDOWS.exec( 'foo\\bar\\index.js' )[ 1 ];
4646

4747
```javascript
4848
var dir = reDirnameWindows.REGEXP.exec( 'foo\\bar\\index.js' )[ 1 ];
49-
// returns 'foo\\bar'
49+
// returns 'foo\bar'
5050
```
5151

5252
</section>
@@ -63,13 +63,12 @@ var dir = reDirnameWindows.REGEXP.exec( 'foo\\bar\\index.js' )[ 1 ];
6363
var reDirnameWindows = require( '@stdlib/regexp/dirname-windows' );
6464

6565
var RE_DIRNAME_WINDOWS = reDirnameWindows();
66-
var dir;
6766

68-
dir = RE_DIRNAME_WINDOWS.exec( 'index.js' )[ 1 ];
67+
var dir = RE_DIRNAME_WINDOWS.exec( 'index.js' )[ 1 ];
6968
// returns ''
7069

7170
dir = RE_DIRNAME_WINDOWS.exec( 'C:\\foo\\bar\\home.html' )[ 1 ];
72-
// returns 'C:\\foo\\bar'
71+
// returns 'C:\foo\bar'
7372

7473
dir = RE_DIRNAME_WINDOWS.exec( 'foo\\file.pdf' )[ 1 ];
7574
// returns 'foo'
@@ -81,10 +80,10 @@ dir = RE_DIRNAME_WINDOWS.exec( '' )[ 1 ];
8180
// returns ''
8281

8382
dir = RE_DIRNAME_WINDOWS.exec( '\\foo\\bar\\file' )[ 1 ];
84-
// returns '\\foo\\bar'
83+
// returns '\foo\bar'
8584

8685
dir = RE_DIRNAME_WINDOWS.exec( 'C:\\foo\\bar\\.gitignore' )[ 1 ];
87-
// returns 'C:\\foo\\bar'
86+
// returns 'C:\foo\bar'
8887
```
8988

9089
</section>

lib/node_modules/@stdlib/regexp/dirname-windows/docs/repl.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@
1111
--------
1212
> var RE = {{alias}}();
1313
> var dir = RE.exec( 'foo\\bar\\index.js' )[ 1 ]
14-
'foo\\bar'
14+
'foo\bar'
1515
> dir = RE.exec( 'C:\\foo\\bar\\.gitignore' )[ 1 ]
16-
'C:\\foo\\bar'
16+
'C:\foo\bar'
1717
> dir = RE.exec( 'foo\\file.pdf' )[ 1 ]
1818
'foo'
1919
> dir = RE.exec( '\\foo\\bar\\file' )[ 1 ]
20-
'\\foo\\bar'
20+
'\foo\bar'
2121
> dir = RE.exec( 'index.js' )[ 1 ]
2222
''
2323
> dir = RE.exec( '' )[ 1 ]
@@ -29,8 +29,8 @@
2929

3030
Examples
3131
--------
32-
> var dir = reDirnameWindows.REGEXP.exec( 'foo\\bar\\index.js' )[ 1 ]
33-
'foo\\bar'
32+
> var dir = {{alias}}.REGEXP.exec( 'foo\\bar\\index.js' )[ 1 ]
33+
'foo\bar'
3434

3535
See Also
3636
--------

lib/node_modules/@stdlib/regexp/dirname-windows/docs/types/index.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ interface ReDirnameWindows {
3030
* @example
3131
* var RE_DIRNAME_WINDOWS = reDirnameWindows();
3232
* var dir = RE_DIRNAME_WINDOWS.exec( 'foo\\bar\\index.js' )[ 1 ];
33-
* // returns 'foo\\bar'
33+
* // returns 'foo\bar'
3434
*/
3535
(): RegExp;
3636

@@ -39,7 +39,7 @@ interface ReDirnameWindows {
3939
*
4040
* @example
4141
* var dir = reDirnameWindows.REGEXP.exec( 'foo\\bar\\index.js' )[ 1 ];
42-
* // returns 'foo\\bar'
42+
* // returns 'foo\bar'
4343
*/
4444
REGEXP: RegExp;
4545
}
@@ -52,11 +52,11 @@ interface ReDirnameWindows {
5252
* @example
5353
* var RE_DIRNAME_WINDOWS = reDirnameWindows();
5454
* var dir = RE_DIRNAME_WINDOWS.exec( 'foo\\bar\\index.js' )[ 1 ];
55-
* // returns 'foo\\bar'
55+
* // returns 'foo\bar'
5656
*
5757
* @example
5858
* var dir = reDirnameWindows.REGEXP.exec( 'foo\\bar\\index.js' )[ 1 ];
59-
* // returns 'foo\\bar'
59+
* // returns 'foo\bar'
6060
*/
6161
declare var reDirnameWindows: ReDirnameWindows;
6262

lib/node_modules/@stdlib/regexp/dirname-windows/examples/index.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,14 @@
2121
var reDirnameWindows = require( './../lib' );
2222

2323
var RE_DIRNAME_WINDOWS = reDirnameWindows();
24-
var dir;
2524

26-
dir = RE_DIRNAME_WINDOWS.exec( 'index.js' )[ 1 ];
25+
var dir = RE_DIRNAME_WINDOWS.exec( 'index.js' )[ 1 ];
2726
console.log( dir );
2827
// => ''
2928

3029
dir = RE_DIRNAME_WINDOWS.exec( 'C:\\foo\\bar\\home.html' )[ 1 ];
3130
console.log( dir );
32-
// => 'C:\\foo\\bar'
31+
// => 'C:\foo\bar'
3332

3433
dir = RE_DIRNAME_WINDOWS.exec( 'foo\\file.pdf' )[ 1 ];
3534
console.log( dir );
@@ -45,8 +44,8 @@ console.log( dir );
4544

4645
dir = RE_DIRNAME_WINDOWS.exec( '\\foo\\bar\\file' )[ 1 ];
4746
console.log( dir );
48-
// => '\\foo\\bar'
47+
// => '\foo\bar'
4948

5049
dir = RE_DIRNAME_WINDOWS.exec( 'C:\\foo\\bar\\.gitignore' )[ 1 ];
5150
console.log( dir );
52-
// => 'C:\\foo\\bar'
51+
// => 'C:\foo\bar'

0 commit comments

Comments
 (0)