The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
Alright, well unless your users are connected to your servers via a SAN speeding up your regex isn't going to even touch the part of your app that should be taking the longest to execute (downloading the data to the client, no?)
Find out for sure what takes the time. Optimize there. I doubt it has anything to do with regex.
You will get up to a 3x speed improvement over a straight NFA regex search through text. But just the searching the text part itself.
That's probably not where your time is being spent, just from what you are telling me.
Of course, I don't *know* any of this. This is me spitballing based on one comment. However, even if I were in your shoes, I'd profile, and find out during a typical run, what percentage of the total time it takes to execute is being used doing what?
From there, I'd attack the things that take the largest percentage.
If the regex is anywhere even near the top of that list, I'll eat my hat.
90% of this has to do with what is allowed to appear inside  braces.
Presumably that just ends up being converted to a character mapper. Specials in there only involve shortcuts to ranges. For example character classes for unicode.
Basic character classes have existed for decades. So just start with that and add a couple.
honey the codewitch wrote:
There are 3 or 4 major regex syntax varieties out there. POSIX, Perl, JS, .NET etc.
Not sure I agree with that as stated.
Following all use same regex as Perl
Given how much those three languages are used I would say that the Perl syntax is the most standard.
Differences from Perl are usually outside the regex itself. Variations in regex itself are probably pretty esoteric.
None of those languages support some of the posix ranges but they do support other escapes that are equivalents. Which means that users of those languages are unlikely to be familiar with the posix ones anyways.
Looks like that is something I have to pay for though[^].
I should've added that I'm a cheapskate -- I thought software was free.
Yes, I make my living from Software Dev & I'm mostly kidding, but $99 / yr feels quite expensive.
Thanks for your input.
That does work. Just looking for something I could use to add a note as to why I was interested in it too.
I am quite addle-brained and often am intensely interested in something that I later look at and wonder why it was important to me.
probably just because I've got years of old bookmarks in there that I'm afraid to get rid of, also I'm lazy so basically it comes down to :
Lazy-FUD - (Fear, Uncertainty, Doubt with a healthy does of laziness).
You can organise your browser bookmarks in multi-level folders. So I have a bunch of "permanent" bookmarks classified into folders, and a couple of "temporary" folders for your kind of usage. Delete them when read, or purge regularly. Or if it's a good'un, move it to somewhere in your permanents.
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
Every couple of months I run the "All Bookmarks" browser in firefox. It lets me add folders, and I can add comments, though I usually don't. It also lets me change the name of the bookmark from the html title of the page to whatever I want, which is usually shorter.
I use browser bookmarks - Chrome at least can have multiple folders and subfolders, so I have a lot of folders to navigate for some shortcuts.
The nice bit is that they gets "shared" across devices, so my desktop, Surface, and Android phone all get the same ones.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
I utilize Microsoft Edge It has a handy "Collections" feature which is conveniently activated via a button on the address bar I utilize it to collect web sites into categories which it supports In my usage e.g. to wit i.e. "Software Testing" "Computer Hardware" "C++" "News" "Dictionary" "Video" "Edge" "Tastey" "Software Development" "Science" "Music" and others Each category contains any number of urls - Cheerio
I just pull them from the URL line into a directory, dragging by the icon immediately preceding the text URL. I made myself a directory named 'Rechts' where I can sort the URLs in groups in multiple levels, I can search the page titles, sort on date saved etc.
Most of all: I can do all the browser cleanup (history, bookmarks, ...) I want to do every now and then. Even reinstall Windows from scratch, to get rid of a lot of garbage in one sweep. (I keep all 'useful' files, including the Rechts directory, on other disks than C: and I've got a wizard-like tool for reinstalling all application software on C: after I have reinstalled Windows.)
The Links are included in my backup plan. They can be used with any browser (at least all those that I use). I can add supplementary files in the Rechts directory (e.g. a username/pw reminder - note that I said 'reminder', not the pw itself!)