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

Get tags that come after a linebreak #136

Open
Moxelbert opened this issue Sep 29, 2022 · 0 comments
Open

Get tags that come after a linebreak #136

Moxelbert opened this issue Sep 29, 2022 · 0 comments

Comments

@Moxelbert
Copy link

Hi guys,

first of all, thanks a lot for your great library, it is a huge help on my current project.
I have one question though: I need to find the indices of certain tags (':F50:') in a string that I get from an XML file.
These tags come after a linebreak, which in xml is represented by '&#xD'.
However, some of the tags are followed by an '/' whereas others are not. When I add ':F50:' to the list of keywords, the keyword processor is able to find the tags that are being followed by the '/', but not the other ones. Only if I add ':F50' to the keyword list, the ones without a '/' are found. My concern is, that with ':F50' as part of the keyword list, the keyword processor finds more tags than I desire. Is there an explanation for that behavior? If yes, can I somehow work around it? Would it make sense to replace the xml formatted linebreak with a different value?

Thanks a lot in advance for any help provided!

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

1 participant