mirror of
https://github.com/xodio/xod.git
synced 2026-03-25 10:06:55 +01:00
fix(arduino-cli): parse options with any character as option name
This commit is contained in:
@@ -45,9 +45,9 @@ export const getLines = R.compose(
|
||||
|
||||
const menuRegExp = /^menu\./;
|
||||
|
||||
const optionNameRegExp = /^menu\.([a-zA-Z0-9_]+)=([a-zA-Z0-9-_ ]+)$/;
|
||||
const optionNameRegExp = /^menu\.([a-zA-Z0-9_]+)=(.+)$/;
|
||||
|
||||
const boardOptionRegExp = /^([a-zA-Z0-9_]+)\.menu\.([a-zA-Z0-9_]+)\.([a-zA-Z0-9_]+)=([a-zA-Z0-9-_ ()]+)$/;
|
||||
const boardOptionRegExp = /^([a-zA-Z0-9_]+)\.menu\.([a-zA-Z0-9_]+)\.([a-zA-Z0-9_]+)=(.+)$/;
|
||||
|
||||
const osRegExp = /(linux|macosx|windows)/;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user