Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Growing !!perl/regex objects in roundtrips #45

Open
perlpunk opened this issue Dec 16, 2017 · 2 comments
Open

Growing !!perl/regex objects in roundtrips #45

perlpunk opened this issue Dec 16, 2017 · 2 comments

Comments

@perlpunk
Copy link
Collaborator

use YAML::Syck;

my $yaml = q{re : !!perl/regexp OK};  
for (1..5) {
  $data = Load $yaml;
  $yaml = Dump $data;
}
say $yaml;
__END__        
--- 
re: !!perl/regexp (?^:(?^:(?^:(?^:(?^:OK)))))

See also ingydotnet/yaml-libyaml-pm#69 and ingydotnet/yaml-pm#184

@toddr
Copy link
Member

toddr commented Mar 27, 2018

Are you saying this is a bug or new feature?

@perlpunk
Copy link
Collaborator Author

Well, I'd say this is a bug. Sorry, I thought it would be clear by linking to the original bug report for YAML::XS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants