execall

WebJar for execall

Лицензия

Лицензия

MIT
Группа

Группа

org.webjars.npm
Идентификатор

Идентификатор

execall
Последняя версия

Последняя версия

2.0.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

execall
WebJar for execall
Ссылка на сайт

Ссылка на сайт

https://www.webjars.org
Система контроля версий

Система контроля версий

https://github.com/sindresorhus/execall

Скачать execall

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.webjars.npm/execall/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>execall</artifactId>
    <version>2.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/execall/
implementation 'org.webjars.npm:execall:2.0.0'
// https://jarcasting.com/artifacts/org.webjars.npm/execall/
implementation ("org.webjars.npm:execall:2.0.0")
'org.webjars.npm:execall:jar:2.0.0'
<dependency org="org.webjars.npm" name="execall" rev="2.0.0">
  <artifact name="execall" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='execall', version='2.0.0')
)
libraryDependencies += "org.webjars.npm" % "execall" % "2.0.0"
[org.webjars.npm/execall "2.0.0"]

Зависимости

compile (1)

Идентификатор библиотеки Тип Версия
org.webjars.npm : clone-regexp jar [2.1.0,3)

Модули Проекта

Данный проект не имеет модулей.

execall Build Status

Find multiple RegExp matches in a string

Instead of having to iterate over RegExp#exec, immutable, and with a nicer result format.

Install

$ npm install execall

Usage

const execall = require('execall');

execall(/(\d+)/g, '$200 and $400');
/*
[
	{
		match: '200',
		subMatches: ['200'],
		index: 1
	},
	{
		match: '400',
		subMatches: ['400'],
		index: 10
	}
]
*/

API

execall(regexp, string)

Returns an object[] with a match, sub-matches, and index.

regexp

Type: RegExp

Regular expression to match against the string.

string

Type: string

Related

License

MIT © Sindre Sorhus

Версии библиотеки

Версия
2.0.0
1.0.0