dabeaz/ply — Issue #12: Typo in code snippet in documentation
Author: florianschanda
Created: 2012-02-06 16:03:40+00:00
State: open

The following example is given:

```python
# C or C++ comment (ignore)
def t_ccode_comment(t):
r'(/\*(.|\n)*?*/)|(//.*)'
pass
```

The regex contains an error: there is a backslash missing in front of the end of the C comment. It should be:
```r'(/\*(.|\n)*?\*/)|(//.*)```