Skip to content
Commits on Oct 19, 2015
  1. @infininight
Commits on May 30, 2015
  1. @Ingramz
  2. @Ingramz
Commits on Feb 5, 2015
  1. @sorbits

    Further work on escapes in single-quoted regular expressions

    sorbits committed Feb 5, 2015
    The previous simplification would accept \\' as an escape sequence, although a string containing that, would not be identified as a regex, so I also updated the rule to identify regular expressions, so that this rule also use the more correct escaping rules.
  2. @infininight

    Grammar: Correct improper '\' escaping

    infininight committed Feb 4, 2015
    Due to an omission in the grammar generator. #ignore
Commits on Feb 4, 2015
  1. @sorbits

    Improve/simplify escaping rules for single-quoted regexps

    sorbits committed Feb 5, 2015
    The rules have been generalized so that anything can be escaped (in the regex) where previously we only supported escaping known special characters. I think the former is better, since there shouldn’t be an issue with over escaping things in a regex, whereas not matching all escape sequences can easily lead to incorrect parsing.
    The previous version of this grammar missed some edge-cases and accepted double-backslash in front of an apostrophe (as a way to escape the quote).
    Closes #59.
Commits on Jan 29, 2015
  1. @infininight
  2. @jjeising @infininight

    Grammar: Add __debugInfo magic method

    jjeising committed with infininight Jan 22, 2015
    This magic method is available since PHP 5.6.
    More info for this method available here:
  3. @infininight
  4. @infininight
  5. @infininight
Commits on Jan 22, 2015
  1. @infininight

    Grammar: Account for dual escaping

    infininight committed Jan 22, 2015
    Due to the string being passed through two layers of escaping we need to treat `]` escaping inside character classes as a special case.
Commits on Jan 21, 2015
  1. @infininight
Commits on Jun 3, 2014
  1. @jjeising

    Added \e escape code

    jjeising committed Jun 4, 2014
    Escape was added in PHP 5.4, see
Commits on Mar 31, 2014
  1. @infininight

    Support using regular expressions in heredocs/nowdocs

    infininight committed Mar 31, 2014
    This can be enabled by using `REGEX` as the delimiting word. Fixes #46.
Commits on Feb 7, 2014
  1. @infininight

    Add missing escape for \ in support.class.builtin

    infininight committed Feb 7, 2014
    Correction from 3d925dd
Commits on Feb 5, 2014
  1. @jjeising @infininight

    Add highlighting for "trait"

    jjeising committed with infininight Feb 1, 2014
    This adds support for traits, which are available since PHP 5.4
    Fixes #41.
  2. @jjeising @infininight
  3. @jjeising @infininight
  4. @infininight
Commits on Oct 17, 2013
  1. @infininight

    Expand where PHP tags are allowed

    infininight committed Oct 17, 2013
    PHP tags are now injected between script tags as well as inside a tag where previously they were only allowed inside of quoted attributes. Fixes #35 and #37.
Commits on Sep 28, 2013
  1. @infininight

    Improve support for nowdocs

    infininight committed Sep 28, 2013
    Nowdocs can now contain syntax highlighting for supported languages, fixes #31.
    Also add support for double-quoted identifiers in regular heredocs.
Commits on Jun 19, 2013
  1. @qerub
Commits on Mar 12, 2013
  1. @infininight
Commits on Dec 1, 2012
  1. @infininight
Commits on Aug 26, 2012
  1. @infininight
Commits on Aug 16, 2012
  1. @gdsmith @infininight

    Fix indenting for empty braces

    gdsmith committed with infininight May 22, 2012
  2. @infininight
  3. @infininight

    Improve comment.line match.

    infininight committed Nov 18, 2011
  4. @infininight
  5. @infininight
  6. @infininight

    Use meta.embedded scope.

    infininight committed Nov 17, 2011
Commits on Feb 6, 2012
Something went wrong with that request. Please try again.