# ri > Regexp::Syntax::InvalidVersionNameError

---
type: CommandReference
command: Regexp::Syntax::InvalidVersionNameError
mode: perldoc
section: ""
source: perldoc
---

## Quick Reference

- `Regexp::Syntax::InvalidVersionNameError->new()` — constructor for this error class

## Name

**Regexp::Syntax::InvalidVersionNameError** — exception class for invalid version name syntax in regexp patterns

## Synopsis

perl
use Regexp::Syntax::InvalidVersionNameError;
Regexp::Syntax::InvalidVersionNameError->new();
## Options

None.

## Examples

None provided in the original documentation.

## See Also

- [Regexp::Syntax::SyntaxError](http://localhost/phpMan.php/perldoc/Regexp%3A%3ASyntax%3A%3ASyntaxError/markdown) — parent class

## Exit Codes

Not documented.