mastodon.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
The original server operated by the Mastodon gGmbH non-profit

Administered by:

Server stats:

373K
active users

signing up for a mathworks account to take advantage of nyu's matlab license, nothing even vaguely approximating arts/design on their "department" drop-down, oh well

(I picked "computer science")

Allison Parrish

actually never mind, instead of trying to learn matlab I am going to use a regular expression

Wat, @aparrish? How on Ceres do you get from Mathlab to regular expressions? Your ways with tech don't cease to amaze!

Btw, for those interested, writing largish regexes is surprisingly manageable if you have macros. E.g. via concatenating string variables containing thusly named subrexes.

@aparrish

this situation defeats the normal retort of "... and now you have 2 problems"

@deejoe @aparrish I've found this site to be really handy when developing RegExs: regexr.com/

@aparrish i think i had to do that anyways back in my matlab days

@aparrish Might give Octave a shot. Its syntax compatible with Matlab and has a lot of the standard library.

@VincentToups too late, the regular expression already solved my problem!

@aparrish @VincentToups Next time you're tempted by matlab, ping @JordiGH, he'll (probably) help you do the thing in octave. Or Python with regexes.