mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-17 20:51:20 +02:00
committed by
Ian Storm Taylor
parent
edb7c3bd3c
commit
44d8021921
@@ -4,7 +4,7 @@
|
|||||||
* @type {RegExp}
|
* @type {RegExp}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const PARSER = /^(\w+)(?::(\d+))?$/
|
const PARSER = /^([\w-]+)(?::(\d+))?$/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Parse an offset key `string`.
|
* Parse an offset key `string`.
|
||||||
|
Reference in New Issue
Block a user