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

Error compiling regex & no HTML #1317

Closed
vovkkk opened this issue May 27, 2014 · 3 comments
Closed

Error compiling regex & no HTML #1317

vovkkk opened this issue May 27, 2014 · 3 comments

Comments

@vovkkk
Copy link

vovkkk commented May 27, 2014

pandoc 1.12.4.2 on Windows 8.1

  1. take the file
  2. run pandoc -thtml5 --standalone perl.md
  3. result is pandoc: Error compiling regex: "\\[:^?[a-z]+:\\]"

Expected result: html in stdout and error in stderr.
Without --standalone pandoc returns the expected result.

@jgm jgm closed this as completed in 2d90803 May 27, 2014
@vovkkk
Copy link
Author

vovkkk commented Jun 12, 2014

@jgm I’m not sure if it’s the same issue or not.
Same setup.

  1. run pandoc

  2. type

    ```fsharp
    #if FLAT_LIST_AS_ARRAY
    ```
    

result :

pandoc: Error compiling regex: "`\\s*[A-Za-z\\0300-\\0326\\0330-\\0366\\0370-\\0377_][A-Za-z\\0300-\\0326\\0330-\\0366\\0370-\\03770-9_']*"

This is the simplest case, but it seems reproducable with any F# code and any Pandoc’s mode.

@jgm
Copy link
Owner

jgm commented Jun 12, 2014

This is fixed in highlighting-kate 0.5.8.1. You need to
compile pandoc against the latest highlighting-kate:

cabal update && cabal install --reinstall --force highlighting-kate pandoc

(Or, if you used a binary installer, you can wait for the next pandoc
release.)

+++ Vova Kolobok [Jun 12 14 09:50 ]:

[1]@jgm I’m not sure if it’s the same issue or not.
Same setup.

  1. run pandoc
  2. type
#if FLAT_LIST_AS_ARRAY

result :
pandoc: Error compiling regex: "`\s_[A-Za-z\0300-\0326\0330-\0366\0370-\0
377_][A-Za-z\0300-\0326\0330-\0366\0370-\03770-9_']_"

This is the simplest case, but it seems reproducable with any F# code
and any Pandoc’s mode.


Reply to this email directly or [2]view it on GitHub.

References

  1. https://github.com/jgm
  2. Error compiling regex & no HTML #1317 (comment)

@vovkkk
Copy link
Author

vovkkk commented Jun 13, 2014

Ah, I just thought that maybe another unfixed issue (different language, different error)
Thank you for clarification, I look forward to the next release.

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