
Company News
Jerod Santo Joins Socket as Head of Media
Allow myself to introduce... myself.
gitbook-plugin-jazer2
Advanced tools
The main/true version for this gitbook plugin is in gitbook-plugin-jazer. This branch is only for testing and development.
This is work in development. Use it at your own risk.
Este es un plugin de ejemplo para gitbook en el que se permite realizar ejercicios cuya respuesta se valida mediante una expresión regular (Usando XRegExp)
To use the jazer2 plugin in your Gitbook project, add the jazer2
plugin to the book.json file, then install plugins using gitbook install.
{
"plugins": ["jazer2"]
}
{% regexp %}
¿Quien descubrió America?
{% solution %}
Cristobal Colon
{% validation %}
/\s*(Crist[oó]bal\s+)?Col[oó]n\s*/i
{% endregexp %}
Es posible usar XRegExp:
{% regexp %}
¿Quienes reinaban en España cuando se descubrió America?
{% solution %}
Los Reyes Católicos
{% validation %}
/
(Isabel\s+ # nombre sencillo
((I\s+)?de\s+Castilla\s+)? # titulo de Isabel
y
\s+Fernando # nombre sencillo
(\s+(II\s+)?de\s+Arag[oó]n)?) # titulo de Fernando
|
(Reyes\s+Cat[oó]licos) # conocidos también por este nombre
/ix
{% endregexp %}
En el caso de que la XRegExp contenga errores se abre una ventana de alerta.
En la siguiente expresión regular el paréntesis abrir no tiene matching paréntesis cerrar:
{% regexp %}
¿Quienes reinaban en España cuando se descubrió America?
{% solution %}
Los Reyes Católicos
{% validation %}
/
(Isabel\s+ # paréntesis abrir
y
\s+Fernando # sin
|
Reyes\s+Cat[oó]licos # paréntesis cerrar
/ix
{% endregexp %}
Al ser procesado el plugin emite un alert con el mensaje de error:

FAQs
Gitbook exercises validated through a XRegExp (work in progress)
The npm package gitbook-plugin-jazer2 receives a total of 7 weekly downloads. As such, gitbook-plugin-jazer2 popularity was classified as not popular.
We found that gitbook-plugin-jazer2 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.

Company News
Allow myself to introduce... myself.

Research
/Security News
A Twitch browser extension on Chrome and Firefox forwards users’ live OAuth session tokens through proxies controlled by a Russian bot service.

Security News
Anthropic found biased reasoning and recklessness drove Claude Mythos 5 to publish malware on PyPI and compromise a security vendor.