Skip to content

Cannot create property '_randexp' on string #49

@maximilian-krauss

Description

@maximilian-krauss

Hi,
looks like there is a bug in https://github.com/fent/randexp.js/blob/master/lib/randexp.js#L241.
If you pass a string and not a RegExp as regexp, setting that property does not work.

Cheers,
Max

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions