Skip to content

Commit

Permalink
Use code font for code samples (#142)
Browse files Browse the repository at this point in the history
  • Loading branch information
millerabel authored Nov 26, 2019
1 parent ad70171 commit 26e2ec9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions discussions/decimal.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ decimal has a lexical representation consisting of a finite-length sequence of d

Decimal Lexical Validator (what our message receivers accept):

^[-+]?(([0-9]+[.]?[0-9]*)|([.]?[0-9]+))$
```^[-+]?(([0-9]+[.]?[0-9]*)|([.]?[0-9]+))$```

Decimal Canonical Validator (the form we store and compare; this pattern could be used to assert canonical form in generated messages):

^([0]|([-]?[1-9][0-9]*))[.]([0]|([0-9]*[1-9]))$
```^([0]|([-]?[1-9][0-9]*))[.]([0]|([0-9]*[1-9]))$```

## Translating Between External and Internal Forms

Expand Down

0 comments on commit 26e2ec9

Please sign in to comment.