« first day (4728 days earlier)      last day (441 days later) » 

03:18
@MrMesees I really don't understand the point of your PRs about the Windows build system
 
2 hours later…
05:40
posted on September 26, 2023

 
13 hours later…
18:35
Well that's not Scottish! spent an hour and a half trying to give buttons a bit of movement, which works brilliantly on chrome... but not in outlook, gmail or mail.com :p
19:13
web email clients only recognize inline style commands which created the difficulty
20:12
yuuupppp email is still very old school in terms of styling
well outlook still tries to match the MS word rendering engine from 2007 or whatever it is
I want to make a joke about HTML tables, but IIRC there have been some improvements in the past 2-3 years... to where "deep knowledge of HTML tables" is less of a requirement for email template jobs
it may have been downgraded to "understanding of HTML tables"
Writing email templates always makes me think of the Dudley Boyz from WWE in the early 2000s
"Deeeevonnnn! GET THE TABLES!"
preg_match('<title>(.)</title>', $mailBody, $matches, 0);* works at regex101, but is giving me warnings:
[26-Sep-2023 20:20:26 UTC] PHP Warning: preg_match(): Unknown modifier '(' in C:\Users\JAMESB\Documents\Projects\HomeInternet\emailLeads\2ndDay.php on line 118
[26-Sep-2023 20:20:26 UTC] PHP Warning: Trying to access array offset on value of type null in C:\Users\JAMESB\Documents\Projects\HomeInternet\emailLeads\2ndDay.php on line 125
you should surround your code with ` `
cause markdown
20:23
there's a dot asterisck in the inner parens
so......preg_match('<title>(.*)</title>', $mailBody, $matches, 0);
preg_match('<title>(.)</title>', $mailBody, $matches, 0);
you need to surround the regex with /, or some other delimiter
'preg_match('<title>(.)</title>', $mailBody, $matches, 0);'
preg_match('/<title>(.*)</title>/', $mailBody, $matches, 0);
20:26
unknown modifier 't'
got it, needed to escape the /title
Which I had but took it out at some iteration
now let's see if I can figure out preg_replace in 25 minute
20:48
` $appt_time = date('l, M j Y', strtotime(' + 1 days'));
preg_match('/<title>(.*)<\/title>/', $mailBody, $matches, 0);
preg_replace('/#DATE#/', $appt_time, $mailBody,);
21:06
Welp, it's 5pm. Do I obsess until I rage quit or got, relax and look at it with fresh eyes?
I think the latter

« first day (4728 days earlier)      last day (441 days later) »