View node-RED.darksky.inlined.weather.flow.json
[ | |
{ | |
"id": "c1f1fc46.4bb3b", | |
"type": "tab", | |
"label": "Weather" | |
}, | |
{ | |
"id": "76c2790c.78f858", | |
"type": "inject", | |
"z": "c1f1fc46.4bb3b", |
View node-RED.NEW_STYLE.darksky.weather.flow.json
[ | |
{ | |
"id": "c1f1fc46.4bb3b", | |
"type": "tab", | |
"label": "Weather" | |
}, | |
{ | |
"id": "76c2790c.78f858", | |
"type": "inject", | |
"z": "c1f1fc46.4bb3b", |
View node-RED.darksky.weather.flow.json
[ | |
{ | |
"id": "a39dbd83.b5365", | |
"type": "tab", | |
"label": "Weather" | |
}, | |
{ | |
"id": "2c44271c.a08d58", | |
"type": "inject", | |
"z": "a39dbd83.b5365", |
View JavaRegexTest.java
import java.util.regex.Matcher; | |
import java.util.regex.Pattern; | |
public class JavaRegexTest { | |
public static void main(String []args) | |
{ | |
String textToSearch = "-DARDUINO_BOARD=\"ESP8266_ESP01\" -DDEFINE_NO_2=\"ESP8266_ESP01\" -DALREADY_ESCAPED=\\\"VALUE\\\" -DDEFINE_WITH_WHITESPACE=\"ESP8266 ESP01\""; | |
Pattern regex = Pattern.compile("-D\\S+=\"\\S+\""); //value contains any char but whitespace |