
Research
/Security News
PolinRider Spreads Through Compromised GitHub Accounts and Packagist
Operators behind PolinRider used a compromised GitHub account to plant malware in four development versions of a Packagist package with 700,000+ downloads.
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 61 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.

Research
/Security News
Operators behind PolinRider used a compromised GitHub account to plant malware in four development versions of a Packagist package with 700,000+ downloads.

Security News
GitHub Actions now supports cache-mode, a least-privilege control on the Actions cache aimed at the cache poisoning technique behind recent compromises.

Company News
Allow myself to introduce... myself.