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

FIND string! tag! misses < and > #1160

Open
rebolbot opened this issue Jul 27, 2009 · 1 comment
Open

FIND string! tag! misses < and > #1160

rebolbot opened this issue Jul 27, 2009 · 1 comment

Comments

@rebolbot
Copy link
Collaborator

Submitted by: BrianH

FIND string! does an implicit FORM of its second argument when not a string type, but apparently just searches for the raw string data of other string types. This is wrong for FIND string! tag!, where it should be searching for the angle brackets as well.

(This is split off of #1159)
>> find "<a>" <a>
== "a>"  ; should be "<a>"
>> find/tail "<a>b" <a>
== ">b"  ; should be "b"
>> find/match "<a>b" <a>
== none  ; should be "b"

CC - Data [ Version: alpha 76 Type: Bug Platform: All Category: Native Reproduce: Always Fixed-in:none ]

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

No branches or pull requests

2 participants