-
Notifications
You must be signed in to change notification settings - Fork 285
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added a examples to functions for lucee docs
- Loading branch information
Showing
3 changed files
with
13 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,7 @@ | ||
*There are currently no examples for this function.* | ||
```luceescript+trycf | ||
writeOutput(lsParseNumber("25,000") & "<br>"); | ||
writeOutput(lsParseNumber("0012.456") & "<br>"); | ||
writeOutput(lsParseNumber(numberFormat(35,'000.00')) & "<br>"); | ||
writeOutput(lsParseNumber(01123) & "<br>"); | ||
writeOutput(lsParseNumber(23000) & "<br>"); | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Default: false, If set true means returns the result as a struct with keys pos, match and len. | ||
|
||
Each are an array with elements for the position and length of the match (first element), and the position and length of any matched subexpressions in the subsequent elements. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
One: (Default)Returns the first value that matches the regex | ||
|
||
All: Returns all values that match the regex |