Posts

Showing posts from January 6, 2019

android Regex issue

Image
2 I had an issue with this regex: ({(([^p{Space}][^p{Punct}])+)}) The problem is in number of chars. If I typing even number of chars it's works, when odd - not. I was trying to replace '+' with '?' or '*', but result still the same. How can I fix this? I expect from this regex to block such strings: {%,$ #fd}. And allow this: {F} or {F242fFSf23}. android regex share | improve this question edited Nov 12 '18 at 8:53 Jayson Minard 37.9k 15 107 170 asked Nov 8 '18 at 9:05 ...