The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

glennoph (4) [Avatar] Offline
With groovy 1.8, some slashes are needed to run the examples (pages 96 & 97)

assert twister ==~ /(w+ w+)*/
def WORD = /w+/
Mittie (397) [Avatar] Offline
Re: 3.5.2 Applying Patterns example
Hi Glenn,

thanks for posting. IIRC this has been posted before. It is a glitch in the PDF production process where backslashes that are in the actual book source code get dropped.

Anyway, thanks a lot for posting!