<story><title>Show HN: Regex.ai – AI-powered regular expression generator</title><url>https://regex.ai/</url><text>Regex.ai is an AI-powered tool that generates regular expressions. It can accurately generate regular expressions that match specific patterns in text with precision. Whether you&amp;#x27;re a novice or an expert, Regex.ai&amp;#x27;s intuitive interface makes it easy to input sample text and generate complex regular expressions quickly and efficiently. Overall, Regex.ai is a game-changer that will save you time and streamline your workflow.</text></story><parent_chain><item><author>safety1st</author><text>It&amp;#x27;s weird to see a forum for hackers, with hacker in the name, and with a line about encouraging curiosity in the charter, be so hostile to someone who hacked something together.&lt;p&gt;Sign of the times perhaps.&lt;p&gt;Though I guess it&amp;#x27;s not much different from the thread trashing Dropbox however many years back.</text></item><item><author>AdieuToLogic</author><text>This offering, and the other half-dozen like it this past week or so, is like giving a kid a flamethrower.&lt;p&gt;It&amp;#x27;s all fun and games until they burn down your house.&lt;p&gt;&amp;gt; ... I need to understand the intent, the whys behind the choices.&lt;p&gt;As do I.&lt;p&gt;And that is something ChatGPT-X (for any given X) cannot provide, regardless of whether or not what is produced is correct.  Perhaps with some form of backward chaining[0] a ChatGPT-X someday can explain how it arrived at what was produced works.&lt;p&gt;But &amp;quot;the why&amp;quot; is the domain of people.&lt;p&gt;0 - &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;en.wikipedia.org&amp;#x2F;wiki&amp;#x2F;Backward_chaining&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;en.wikipedia.org&amp;#x2F;wiki&amp;#x2F;Backward_chaining&lt;/a&gt;</text></item><item><author>anileated</author><text>I often find it faster to write something from scratch rather than to work with someone else’s code to fix it. In the latter case I need to understand the intent, the whys behind the choices.&lt;p&gt;Well guess what, LLM-generated code &lt;i&gt;is&lt;/i&gt; someone else’s code: an amalgamation derived from many peoples’ code. Except those people are ‘helpfully’ “abstracted away” from you by the middleman, so you can’t know &lt;i&gt;their&lt;/i&gt; original intents and choices. What’s worse, it’s someone else’s code that will be treated as &lt;i&gt;your&lt;/i&gt; code—unlike working with a legacy system that everyone knows was written by some guy, in this case any bugs will be squarely on you.</text></item><item><author>AdieuToLogic</author><text>&amp;gt; Regex.ai is an AI-powered tool that generates regular expressions.&lt;p&gt;Or, just write regular expressions?&lt;p&gt;&amp;gt; ... Regex.ai&amp;#x27;s intuitive interface makes it easy to input sample text and generate complex regular expressions quickly and efficiently.&lt;p&gt;See: &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;www.ibm.com&amp;#x2F;topics&amp;#x2F;overfitting&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;www.ibm.com&amp;#x2F;topics&amp;#x2F;overfitting&lt;/a&gt;&lt;p&gt;Inputting the sample text:&lt;p&gt;&lt;pre&gt;&lt;code&gt;  foo bar baz
  baz bar foo
&lt;/code&gt;&lt;/pre&gt;
And highlighting the first &amp;quot;baz&amp;quot; produced patterns which all had &amp;quot;[A-Z][a-z]*@libertylabs\\.ai&amp;quot; included, assumedly due to the default inclusions.&lt;p&gt;Removing those and highlighting the second &amp;quot;baz&amp;quot; resulted &amp;quot;&amp;lt;Agent B&amp;gt;&amp;quot; as the results in one case.&lt;p&gt;There is no explanation of any patterns generated.  If a person is to use one of the generated patterns and Regex.ai is supposed to &amp;quot;save you time and streamline your workflow&amp;quot;, no matter &amp;quot;[w]hether you&amp;#x27;re a novice or an expert&amp;quot;, then some form of verification and&amp;#x2F;or explanation must exist.&lt;p&gt;Otherwise, a person must know how to formulate regular expressions in order to determine which, if any, of the presented options are applicable.  And if a person knows how to formulate regular expressions, then why would they use Regex.ai?</text></item></parent_chain><comment><author>JTyQZSnP3cQGa8B</author><text>&amp;gt;so hostile to someone who hacked something together.&lt;p&gt;It&amp;#x27;s not hostile but I&amp;#x27;m a bit tired of all those projects that sprout around AI.&lt;p&gt;If it was an open-source project full of bugs, I would understand, and encourage and give solutions to the creator of the project, maybe even create tickets or fix bugs.&lt;p&gt;But with AI, we are flooded with tons of closed-source frontends to a closed-source backend, and those projects are more than buggy since they confidently give bad solutions. It&amp;#x27;s not like a &amp;quot;DIY electric car project,&amp;quot; it&amp;#x27;s someone putting pieces of cardboard on a Tesla and pretending it makes it safer or faster.&lt;p&gt;I&amp;#x27;m dumbfounded and I don&amp;#x27;t know how I am supposed to react to this, I would certainly not release that to anyone since it&amp;#x27;s antithetical to what I do and believe what software should be.</text></comment>
<story><title>Show HN: Regex.ai – AI-powered regular expression generator</title><url>https://regex.ai/</url><text>Regex.ai is an AI-powered tool that generates regular expressions. It can accurately generate regular expressions that match specific patterns in text with precision. Whether you&amp;#x27;re a novice or an expert, Regex.ai&amp;#x27;s intuitive interface makes it easy to input sample text and generate complex regular expressions quickly and efficiently. Overall, Regex.ai is a game-changer that will save you time and streamline your workflow.</text></story><parent_chain><item><author>safety1st</author><text>It&amp;#x27;s weird to see a forum for hackers, with hacker in the name, and with a line about encouraging curiosity in the charter, be so hostile to someone who hacked something together.&lt;p&gt;Sign of the times perhaps.&lt;p&gt;Though I guess it&amp;#x27;s not much different from the thread trashing Dropbox however many years back.</text></item><item><author>AdieuToLogic</author><text>This offering, and the other half-dozen like it this past week or so, is like giving a kid a flamethrower.&lt;p&gt;It&amp;#x27;s all fun and games until they burn down your house.&lt;p&gt;&amp;gt; ... I need to understand the intent, the whys behind the choices.&lt;p&gt;As do I.&lt;p&gt;And that is something ChatGPT-X (for any given X) cannot provide, regardless of whether or not what is produced is correct.  Perhaps with some form of backward chaining[0] a ChatGPT-X someday can explain how it arrived at what was produced works.&lt;p&gt;But &amp;quot;the why&amp;quot; is the domain of people.&lt;p&gt;0 - &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;en.wikipedia.org&amp;#x2F;wiki&amp;#x2F;Backward_chaining&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;en.wikipedia.org&amp;#x2F;wiki&amp;#x2F;Backward_chaining&lt;/a&gt;</text></item><item><author>anileated</author><text>I often find it faster to write something from scratch rather than to work with someone else’s code to fix it. In the latter case I need to understand the intent, the whys behind the choices.&lt;p&gt;Well guess what, LLM-generated code &lt;i&gt;is&lt;/i&gt; someone else’s code: an amalgamation derived from many peoples’ code. Except those people are ‘helpfully’ “abstracted away” from you by the middleman, so you can’t know &lt;i&gt;their&lt;/i&gt; original intents and choices. What’s worse, it’s someone else’s code that will be treated as &lt;i&gt;your&lt;/i&gt; code—unlike working with a legacy system that everyone knows was written by some guy, in this case any bugs will be squarely on you.</text></item><item><author>AdieuToLogic</author><text>&amp;gt; Regex.ai is an AI-powered tool that generates regular expressions.&lt;p&gt;Or, just write regular expressions?&lt;p&gt;&amp;gt; ... Regex.ai&amp;#x27;s intuitive interface makes it easy to input sample text and generate complex regular expressions quickly and efficiently.&lt;p&gt;See: &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;www.ibm.com&amp;#x2F;topics&amp;#x2F;overfitting&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;www.ibm.com&amp;#x2F;topics&amp;#x2F;overfitting&lt;/a&gt;&lt;p&gt;Inputting the sample text:&lt;p&gt;&lt;pre&gt;&lt;code&gt;  foo bar baz
  baz bar foo
&lt;/code&gt;&lt;/pre&gt;
And highlighting the first &amp;quot;baz&amp;quot; produced patterns which all had &amp;quot;[A-Z][a-z]*@libertylabs\\.ai&amp;quot; included, assumedly due to the default inclusions.&lt;p&gt;Removing those and highlighting the second &amp;quot;baz&amp;quot; resulted &amp;quot;&amp;lt;Agent B&amp;gt;&amp;quot; as the results in one case.&lt;p&gt;There is no explanation of any patterns generated.  If a person is to use one of the generated patterns and Regex.ai is supposed to &amp;quot;save you time and streamline your workflow&amp;quot;, no matter &amp;quot;[w]hether you&amp;#x27;re a novice or an expert&amp;quot;, then some form of verification and&amp;#x2F;or explanation must exist.&lt;p&gt;Otherwise, a person must know how to formulate regular expressions in order to determine which, if any, of the presented options are applicable.  And if a person knows how to formulate regular expressions, then why would they use Regex.ai?</text></item></parent_chain><comment><author>AdieuToLogic</author><text>&amp;gt;  It&amp;#x27;s weird to see a forum for hackers, with hacker in the name, and with a line about encouraging curiosity in the charter, be so hostile to someone who hacked something together.&lt;p&gt;My comment was in direct response to an overarching concern raised by the implications of incorporating &amp;quot;LLM-generated code.&amp;quot;  This is relevant here due to the &amp;quot;Show HN&amp;quot; description above, which reads thusly:&lt;p&gt;&lt;pre&gt;&lt;code&gt;  Regex.ai is an AI-powered tool that generates regular
  expressions. It can accurately generate regular expressions
  that match specific patterns in text with precision.
&lt;/code&gt;&lt;/pre&gt;
If you interpreted my characterization of &amp;quot;... like giving a kid a flamethrower&amp;quot; as being hostile, then I extend my apologies to the OP as I was using this phrase as a literary tool detailed subsequently.  I thought the subject expansion of &amp;quot;the other half-dozen like it this past week or so&amp;quot; was sufficient.&lt;p&gt;As to &amp;quot;encouraging curiosity&amp;quot;, I point you to feedback I provided to the OP in a reply peer to this one.</text></comment>