"When you use an regex to solve a problem, then you have another problem".
On Monday, August 17, 2020 at 11:35:08 AM UTC-4, vitalije wrote: > > > > On Monday, August 17, 2020 at 4:59:39 PM UTC+2, Thomas Passin wrote: >> >> Nested comments aren't allowed in js and ts, are they? >> >> > Probably not, but that was not my point. > Looking again in the original regex it seems the first group would match > any number of sequences of triplets containing "/*" followed by any > character. For example: > /*a/*b/*c/*d.... The second group will match everything that follows. In > the given example first group doesn't match anything, and the second group > matches whole string. > > Vitalije > -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/3ed71bc1-dddd-4b83-9b11-4fe5ff1178b4o%40googlegroups.com.
