happymacrodroidcustomer
New member
Hello, ended up going down a regex rabbit hole a couple weeks ago.
And have since done my usual tidying up of Macrodroid, deleting the related regex test macro.
This is not a priority for me.
However, I did find some notes from my testing.
So folks can recreate if desired if determined can be fixed.
grep -P regex succeeds.
And, Macrodroid javascript succeeds.
regex101 succeeds.
Below is the data for a simple recreate if desired.
Text manipulation, Extract Text
^(?!http|https).+
smtp://xyz.mail
ftp://file.txt
javascript
var jetpack_out = "notinitjs";
const s = 'http://abc.com\nsmtp://xyz.com\nhttp://abc.com\nhttps://mno.org\nftp://file.txt' ;
const pattern = /^(?!http|https).+/gm;
const match = s.match(pattern);
console.log(match, '\n`, new Date().toISOString());
re
And have since done my usual tidying up of Macrodroid, deleting the related regex test macro.
This is not a priority for me.
However, I did find some notes from my testing.
So folks can recreate if desired if determined can be fixed.
grep -P regex succeeds.
And, Macrodroid javascript succeeds.
regex101 succeeds.
Below is the data for a simple recreate if desired.
Text manipulation, Extract Text
^(?!http|https).+
smtp://xyz.mail
ftp://file.txt
javascript
var jetpack_out = "notinitjs";
const s = 'http://abc.com\nsmtp://xyz.com\nhttp://abc.com\nhttps://mno.org\nftp://file.txt' ;
const pattern = /^(?!http|https).+/gm;
const match = s.match(pattern);
console.log(match, '\n`, new Date().toISOString());
re