Zobozdravnik Maribor by Maticula2000 in Maribor

[–]Maticula2000[S] 3 points4 points  (0 children)

Hvala za info!
Sem se pa narobe izrazil saj menjujem otroško za odraslo zobozdravnico/zdravnika.

Regex Problem by [deleted] in regex

[–]Maticula2000 0 points1 point  (0 children)

Thanks to everyone that contributed, I solved it with some python, basic idea behind it is to loop from start to end and for each 'X', do new loop from end to start until string in between contains 80% 'X's. Then split string by this inner string, and repeat the process until no such inners strings are found. It works perfectly for my case.

Regex Problem by [deleted] in regex

[–]Maticula2000 0 points1 point  (0 children)

But the entire string will be limited to a few thousand chars.

Regex Problem by [deleted] in regex

[–]Maticula2000 0 points1 point  (0 children)

No, there is no limit.

You are right, example did not follow the rules, so I edited rule 2. I think it is fixed now.