Skip to content

Adds syntax for Identifiers in labeled statements#64

Merged
pangloss merged 1 commit into
pangloss:masterfrom
goatslacker:patch-1
Feb 19, 2013
Merged

Adds syntax for Identifiers in labeled statements#64
pangloss merged 1 commit into
pangloss:masterfrom
goatslacker:patch-1

Conversation

@goatslacker

Copy link
Copy Markdown
Collaborator

    { $: 'now this label has syntax highlighting' }

Using this RegExp [a-zA-Z_$][0-9a-zA-Z_$\-]
instead of just checking for \w.

Although it doesn't cover the full range of characters an Identifier
can be it does work for the 98%.

    { $: 'now this label has syntax highlighting' }

Using this RegExp `[a-zA-Z_$][0-9a-zA-Z_$\-]` 
instead of just checking for `\w`.

Although it doesn't cover the full range of characters an Identifier
can be it does work for the 98%.
pangloss pushed a commit that referenced this pull request Feb 19, 2013
Adds syntax for Identifiers in labeled statements
@pangloss
pangloss merged commit 1f68f53 into pangloss:master Feb 19, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants