Original Message: Oh, that's a thing called regular expression, |
---|
shortly 'regex'. It's good for determining whether a string of characters is in certain form (which is defined by regex). Here [NWSE] means 'any of characters N, W, S, E', {5} means 'exactly five times'. (Sorry for it; as a programmer, I just sometimes use ... say, inappropriate means of expressing myself.) (I don't remember how exactly the answer runs, but it's in my book of MMIII notes. But I think it is (HL)NWNES(stop HL).) |
|