View Single Post
Old 08-03-2020, 07:31 AM  
duk75
Confirmed User
 
Industry Role:
Join Date: Feb 2012
Posts: 741
I can make your regex line if you pay me 13.95 for it.;) ,😈😄.

Once you learn it it takes 5 or 10 minutes to do one, unless it is something extremely challenging, which might take a few hours of meditation... But those are not common, although regex also should be your last resource if you are trying to build a fast php script, for example, or search in a database, because they take longer to be executed than the usual algorithms, but, again, it depends on the case, sometimes it doesn't matter, sometimes if you need to repeat the process ten thousand times in a second, it matters a lot.
duk75 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote