Easy way to remember Regex operators.

Discussion in 'iOS Programming' started by techwoman, May 7, 2018.

  1. techwoman macrumors newbie

    Nov 22, 2014

    Is there an easy way to remember the regex operators and meta-characters defined in Apple docs? It seems like regex is very useful, but then even after going through apple docs, I hardly understand what the operators and meta-characters stand for.

    Is there a way to learn and keep in mind all the operators?

    Apple docs for regex - https://developer.apple.com/documentation/foundation/nsregularexpression
  2. MC6800 macrumors 6502

    Jun 29, 2016
    Not really... just memorize the basic set, which you'll find in many tutorials. For the rest, keep the reference handy. No point in memorizing them since there are so many variations.

Share This Page