(maybe) Fix bug
This commit is contained in:
parent
75a7ad9dae
commit
e915b46c65
2 changed files with 14 additions and 1 deletions
|
@ -189,6 +189,7 @@ const elements = [
|
|||
}
|
||||
|
||||
if (thisIsNotARegexp) return null;
|
||||
if (regexp == '') return null;
|
||||
if (regexp[0] == ' ' && regexp[regexp.length - 1] == ' ') return null;
|
||||
|
||||
return {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue