mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
Add start and end markers to p1 test
This commit is contained in:
parent
24a8c6df32
commit
fe04286d10
@ -26,7 +26,7 @@ if (!fs.existsSync("/dev/ledborg")) {
|
|||||||
|
|
||||||
function LedBorgNode(n) {
|
function LedBorgNode(n) {
|
||||||
RED.nodes.createNode(this,n);
|
RED.nodes.createNode(this,n);
|
||||||
var p1 = /[0-2][0-2][0-2]/
|
var p1 = /^[0-2][0-2][0-2]$/
|
||||||
var p2 = /^\#[A-Fa-f0-9]{6}$/
|
var p2 = /^\#[A-Fa-f0-9]{6}$/
|
||||||
var node = this;
|
var node = this;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user