urbit-ob

JavaScript utilities for phonemic base wrangling.
Log | Files | Refs | README

commit 6587c490aabc3b324f4011e9c806d7e29c8912a1
parent 89dc0956f5c97fdaf09534f49df4b52801068a44
Author: Jared Tobin <jared@jtobin.io>
Date:   Sat, 15 Jun 2019 20:05:24 +0800

Count the leading sig in length check.

Diffstat:
Msrc/internal/co.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/internal/co.js b/src/internal/co.js @@ -364,7 +364,7 @@ const isValidPat = name => { const leadingTilde = name.slice(0, 1) === '~' - if (leadingTilde === false || name.length < 3) { + if (leadingTilde === false || name.length < 4) { return false } else { const syls = patp2syls(name)