Element - e
- Exponentiation
Characters:
e
Description
Exponentiate two numbers / extend string / get length of a regex match
Overloads
num-num
-a ** b (exponentiation)
str-num
-append a[0] until a is length b (spaces are used if a is empty)
num-str
-append b[0] until b is length a (spaces are used if b is empty)
str-str
-regex.search(pattern=a, string=b).span() (length of regex match)
Examples
5 3 e
=125
0 0 e
=1
4 0.5 e
=2
`hello` 7 e
=`hellohh`
`hello` 3 e
=`hello`
`hello` `el` e
=⟨1|3⟩
`hellooo` `e.*o` e
=⟨1|7⟩