Home | History | Annotate | Line # | Download | only in data
      1  1.1  pgoyette # Let's have some fun -- try to match a C comment.
      2  1.1  pgoyette # first the obvious, which looks okay at first glance...
      3  1.1  pgoyette /\*.*\*/	-	/*x*/	/*x*/
      4  1.1  pgoyette # but...
      5  1.1  pgoyette /\*.*\*/	-	/*x*/y/*z*/	/*x*/y/*z*/
      6  1.1  pgoyette # okay, we must not match */ inside; try to do that...
      7  1.1  pgoyette /\*([^*]|\*[^/])*\*/	-	/*x*/	/*x*/
      8  1.1  pgoyette /\*([^*]|\*[^/])*\*/	-	/*x*/y/*z*/	/*x*/
      9  1.1  pgoyette # but...
     10  1.1  pgoyette /\*([^*]|\*[^/])*\*/	-	/*x**/y/*z*/	/*x**/y/*z*/
     11  1.1  pgoyette # and a still fancier version, which does it right (I think)...
     12  1.1  pgoyette /\*([^*]|\*+[^*/])*\*+/	-	/*x*/	/*x*/
     13  1.1  pgoyette /\*([^*]|\*+[^*/])*\*+/	-	/*x*/y/*z*/	/*x*/
     14  1.1  pgoyette /\*([^*]|\*+[^*/])*\*+/	-	/*x**/y/*z*/	/*x**/
     15  1.1  pgoyette /\*([^*]|\*+[^*/])*\*+/	-	/*x****/y/*z*/	/*x****/
     16  1.1  pgoyette /\*([^*]|\*+[^*/])*\*+/	-	/*x**x*/y/*z*/	/*x**x*/
     17  1.1  pgoyette /\*([^*]|\*+[^*/])*\*+/	-	/*x***x/y/*z*/	/*x***x/y/*z*/
     18