Re: Grep: pattern_2 NOT preceded by pattern_1 (with pattern_1 not necessarily IMMEDIATELY to the left of pattern_2)

2018-10-13 Thread F. Alfredo Rego
Hi Patrick, The special case “fixed-length specific string” is perfect. So, I rephrase: Dear engine, Here are some lines: Some stuff of no interest whatsoever ostracized_stringwanted_string ostracized_string wanted_string ostracized_string with Some stuff and then

Re: Grep: pattern_2 NOT preceded by pattern_1 (with pattern_1 not necessarily IMMEDIATELY to the left of pattern_2)

2018-10-13 Thread Patrick Woolsey
On Oct 13, 2018, at 13:26, F. Alfredo Rego wrote: > >> On Oct 13, 2018, at 12:08 AM, Christopher Stone >> wrote: >> >> On 10/12/2018, at 16:03, F. Alfredo Rego wrote: >>> >>> I would like to craft an expression to find lines that contain pattern_2 >>> NOT preceded by pattern_1 >>> (with

Re: Grep: pattern_2 NOT preceded by pattern_1 (with pattern_1 not necessarily IMMEDIATELY to the left of pattern_2)

2018-10-13 Thread F. Alfredo Rego
Hey Chris, How about this? Dear engine: Please look for pattern_2 in the current line. If the current line DOESN’T CONTAIN pattern_2, great. Skip this line and try the next line. However, if the current line CONTAINS pattern_2: Does the current line ALSO

Re: Learning HTML CSS Javascript with BBEdit12

2018-10-13 Thread BB_HTML_JS
yes it works very fine in BBedit, but its limited . if i type this code example in my new empty html files. i will not get autocompletions showed for javascript inside tags Hallo BBedit change color document.getElementById("button1").onclick

Re: Grep: pattern_2 NOT preceded by pattern_1 (with pattern_1 not necessarily IMMEDIATELY to the left of pattern_2)

2018-10-13 Thread Christopher Stone
On 10/12/2018, at 16:03, F. Alfredo Rego mailto:f.alfredor...@gmail.com>> wrote: > I would like to craft an expression to find lines that contain pattern_2 NOT > preceded by pattern_1 > (with pattern_1 not necessarily IMMEDIATELY to the left of pattern_2). Hey Alfredo, It's a best-practice to