Minichan

Topic: regex regular expressions for Firefox extension History AutoDelete Rebooted

boof started this discussion 2 hours ago #133,261

This thread is referenced in https://minichan.net/topic/132404#reply_1420524 where the Firefox extension History AutoDelete Rebooted is described. Here, details are given about making regular expression patterns to match URLs in Firefox browser history for deletion. Regular expressions, also known as regex, is a method to match and locate text in many different usage situations in general. It has a particular syntax whereby special metacharacters represent things other than than the literal characters that they appear to be. This is a list of metacharacters that are used in these notes. More details about each are given a little later.

^	anchor:  start of string or line
[^]	negated character class
$	anchor:  end of string or line
.	any character except line break
\	escape, apply to metacharacters to make them literal, or apply to regular characters for
	special meanings.  e.g. \.  \?  \/  \n
()	capturing group
?	quantifier:  zero or one
+	quantifier:  one or more 
{2,}	quantifier:  two or more
*	quantifier:  zero or more
(|)	choice (alternation, set union) operator, OR
(?!)	negative lookahead
(?=)	positive lookahead
(?i)	inline modifier:  activate case insensitive mode
(?-i)	inline modifier:  switch off case insensitive mode

(Edited 1 minute later.)

Anonymous B joined in and replied with this 2 hours ago, 40 minutes later[^] [v] #1,420,533

i strongly prefer a browser thats functional right off the executable.

like... the more you tweak a browser the more it stands out, and the more it stands out, the easier the glowniggers can git you for posting a meme they dont like.

Anonymous C joined in and replied with this 1 hour ago, 11 minutes later, 52 minutes after the original post[^] [v] #1,420,536

Private browsing mode is easier

Oatmeal Fucker !BYUc1TwJMU joined in and replied with this 1 hour ago, 28 minutes later, 1 hour after the original post[^] [v] #1,420,540

I use Google Chrome with no addons
:

Please familiarise yourself with the rules and markup syntax before posting.