1 .\" $OpenBSD: B.in,v 1.3 2017/07/04 14:53:27 schwarze Exp $
2 .Dd $Mdocdate: July 4 2017 $
7 .Nd the roff escape B sequence: validate numerical expression
13 no number: \B'no number'
15 trailing garbage: \B'1X'
17 trailing operator: \B'1+'
19 infix operator: \B'1+1'
21 infix and trailing operator: \B'1+1+'
23 chain of operations: \B'1+2+3+4'
25 trailing para: \B'1+('
29 empty pair of parentheses: \B'()'
31 parentheses containing number: \B'(42)'
33 complex expression: \B'3+(3*(5==5*2)*4)+(3*5)/2'
35 other delimiter: \Bx1+1x
37 no closing delimiter: \B'1+1