Skip to content

Commit ec492f3

Browse files
committed
Update variable name and change wording
1 parent 8d1bf1f commit ec492f3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ var bool = reDecimalNumber.REGEXP.test( '2:3' );
9191
[Regular expression][mdn-regexp] to capture characters matching a decimal number.
9292

9393
```javascript
94-
var bool = reDecimalNumber.REGEXP_CAPTURE.exec( '1.234' );
94+
var parts = reDecimalNumber.REGEXP_CAPTURE.exec( '1.234' );
9595
// returns [ '1.234', '1.234' ]
9696
```
9797

lib/node_modules/@stdlib/regexp/decimal-number/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ interface ReDecimalNumber {
8282
* Regular expression to capture decimal number.
8383
*
8484
* @example
85-
* var bool = reDecimalNumber.REGEXP_CAPTURE.exec( '1.234' );
85+
* var parts = reDecimalNumber.REGEXP_CAPTURE.exec( '1.234' );
8686
* // returns [ '1.234', '1.234' ]
8787
*/
8888
REGEXP_CAPTURE: RegExp;

lib/node_modules/@stdlib/regexp/decimal-number/test/test.validate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ tape( 'the function returns `null` if all options are valid', function test( t )
129129
t.end();
130130
});
131131

132-
tape( 'the function will ignore unrecognized options', function test( t ) {
132+
tape( 'the function ignores unrecognized options', function test( t ) {
133133
var options;
134134
var opts;
135135
var err;

0 commit comments

Comments
 (0)