Gemini with Thinking 3 Pro can't script multi-line string replacement

1 pointsposted 11 hours ago
by YouAreWRONGtoo

Item id: 46253238

2 Comments

reify

9 hours ago

you must be prompting it wrong, LOL!

so ai cannot do regular expressions?

even my 13 year old great nephew can do this without ai.

  sed -e :n -e '$!N;/\n.*\n/!{$!bn
  };  s/some text,\n* *something else\n* *another thing/this is completely\
  different text/;P;D' <infile

  perl -i -p0e 's/Some.*?thing\n/`cat new`/se' input.txt
proper good that ai.

The most annoying thing about gemini is that when I search for information on gemini.dev protocol, all I get is fucking poxy google ai shit.