# RDoc::Markup::ToHtmlCrossref dosen't recognize filepath including '-'

**URL:** <https://www.ruby-forum.com/t/rdoc-tohtmlcrossref-dosent-recognize-filepath-including/159515>\
**Category:** Development\
**Created:** [February 5, 2009, 9:12am UTC](https://www.ruby-forum.com/t/rdoc-tohtmlcrossref-dosent-recognize-filepath-including/159515 "2009-02-05T09:12:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tomoyuki\_C](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/c0e974/32.png) [@Tomoyuki\_C](https://www.ruby-forum.com/u/Tomoyuki_C)\
**Post date:** [February 5, 2009, 9:12am UTC](https://www.ruby-forum.com/t/rdoc-tohtmlcrossref-dosent-recognize-filepath-including/159515/1 "2009-02-05T09:12:48Z")

</div>

e$B6a1J$H?=$7$^$9!#e(B

trunk e$B$N%=!\<%9$Ge(B make test-all e$B$9$k$He(B  
test\_handle\_special\_CROSSREF\_no\_underscore e$B$,e(B Failure e$B$Ke(B  
e$B$J$k$3$H$,$"$j$^$9!#e(B  
e$B$I$&$d$i%=!\<%9%D%j!\<$rCV$/%G%#%l%/%H%j%Q%9$Ke(B ‘-’  
e$B$,4^$^$l$F$$$k$He(B  
e$B$&$^$/$$$+$J$$$h$&$G$7$?!#e(B

e$BH=Dj$7$F$$$k@55,I=8=$KDI2C$7$Fe(B(’-’ e$B$@$1$G$$$$$N$+5?Ld$G$9$,e(B)  
make test-all e$B$@$1$ODL$k$h$&$K$J$j$^$7$?!#e(B  
e$BKvHx$Ke(B trunk e$B$X$Ne(B patche$B$rE=$j$^$9!#e(B  
e$B$?$@e(B rdoc e$B$r0U\<1$7$F;H$C$?$3$H$,$J$$$N$GB\>$NF0:n3NG’Ey$Oe(B  
e$B$7$F$$$^$;$s!#e(B

e$B$?$@$J$s$H$J$/%F%9%H$G%U%k%Q%9$rEO$7$F$$$k$N$,$$$1$J$$$h$&$Je(B  
e$B5$$b$7$^$9!#%U%!%$%k%Q%9$rAjBP%Q%9$K$9$k$h$&$Ke(B  
test\_rdoc\_markup\_to\_html\_crossref.rb e$B$r=$@5$7$F$be(B  
e$BDL$k$h$&$K$O$G$-$^$7$?!#e(B  
e$B$I$J$?$+\>$7$$J}$K8!F$$7$FD:$-$?$$$H;W$$$^$9!#e(B

===================================================================  
— lib/rdoc/markup/to\_html\_crossref.rb (revision 22068)  
+++ lib/rdoc/markup/to\_html\_crossref.rb (working copy)  
@@ -65,7 +65,7 @@  
# The key thing is that there must be at least  
# one special character (period, slash, or  
# underscore).

- 

```
                 | [\/\w]+[_\/\.][\w\/\.]+

```

- 

```
                 | [-\/\w]+[_\/\.][-\w\/\.]+

                 # Things that have markup suppressed
                 | \\[^\s]
```
