ncname ![Build Status](https://camo.githubusercontent.com/9a1b7a20cbc56b1819c61b1b8f22435d0d9859069ddebd476526211c1ed91844/68747470733a2f2f7472617669732d63692e6f72672f73696e647265736f726875732f6e636e616d652e7376673f6272616e63683d6d6173746572)
Regular expression for matching XML NCName
Install
$ npm install ncname
Usage
const ncname = require('ncname');
ncname.test('hællæ');
//=> true
ncname.test('$unicorn');
//=> false
License
MIT © Sindre Sorhus
License |
License |
---|---|
GroupId | GroupIdorg.webjars.npm |
ArtifactId | ArtifactIdncname |
Last Version | Last Version1.0.0 |
Release Date | Release Date |
Type | Typejar |
Description |
Descriptionncname
WebJar for ncname
|
Project URL |
Project URL |
Source Code Management |
Source Code Management |
Filename | Size |
---|---|
ncname-1.0.0.pom | |
ncname-1.0.0.jar | 3 KB |
ncname-1.0.0-sources.jar | 22 bytes |
ncname-1.0.0-javadoc.jar | 22 bytes |
Browse |
<!-- https://jarcasting.com/artifacts/org.webjars.npm/ncname/ -->
<dependency>
<groupId>org.webjars.npm</groupId>
<artifactId>ncname</artifactId>
<version>1.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/ncname/
implementation 'org.webjars.npm:ncname:1.0.0'
// https://jarcasting.com/artifacts/org.webjars.npm/ncname/
implementation ("org.webjars.npm:ncname:1.0.0")
'org.webjars.npm:ncname:jar:1.0.0'
<dependency org="org.webjars.npm" name="ncname" rev="1.0.0">
<artifact name="ncname" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='ncname', version='1.0.0')
)
libraryDependencies += "org.webjars.npm" % "ncname" % "1.0.0"
[org.webjars.npm/ncname "1.0.0"]
Group / Artifact | Type | Version |
---|---|---|
org.webjars.npm » xml-char-classes | jar | [1.0.0,2) |
Regular expression for matching XML NCName
$ npm install ncname
const ncname = require('ncname');
ncname.test('hællæ');
//=> true
ncname.test('$unicorn');
//=> false
MIT © Sindre Sorhus