On Thu, May 5, 2011 at 12:58 AM, Adam Borowski <kilob...@angband.pl> wrote: >> > /enum monster_type\s*{\s*((?:\w+\s*(?:\s*=\s*\w+)?,\s*)+)}/
This assumes there can be ever only zero spaces before the comma. Also the ?: are noise that /x and comments won't fix. Not that it matters. I only reply because of your comment about FORTRAN and Python; you seem to be a fine young hacker and I think this article by a fine old hacker is worth your time: http://www.linuxjournal.com/article/3882 p ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Crawl-ref-discuss mailing list Crawl-ref-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/crawl-ref-discuss