# Regexp property under windows

**URL:** <https://www.ruby-forum.com/t/regexp-property-under-windows/195014>\
**Category:** Ruby\
**Created:** [September 15, 2010, 11:40am UTC](https://www.ruby-forum.com/t/regexp-property-under-windows/195014 "2010-09-15T11:40:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ntysdd](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/71e660/32.png) [@ntysdd](https://www.ruby-forum.com/u/ntysdd)\
**Post date:** [September 15, 2010, 11:40am UTC](https://www.ruby-forum.com/t/regexp-property-under-windows/195014/1 "2010-09-15T11:40:06Z")

</div>

though properties of regexp under Linux is OK,ruby under windows doesn’t  
support that.  
such as /\p{Han}/,  
you will always get an error.

irb(main):001:0\> /\p{Han}/  
SyntaxError: (irb):1: invalid character property name {Han}: /\p{Han}/  
from C:/Ruby192/bin/irb:12:in `’

will anyone explain this?

i use ruby 1.9.2p0 (2010-08-18) [i386-mingw32]

---

<div class="post-metadata">

**Author:** ![ntysdd](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/71e660/32.png) [@ntysdd](https://www.ruby-forum.com/u/ntysdd)\
**Post date:** [September 15, 2010, 5:30pm UTC](https://www.ruby-forum.com/t/regexp-property-under-windows/195014/2 "2010-09-15T17:30:42Z")

</div>

On Sep 15, 6:40 am, Ntys Dd [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> i use ruby 1.9.2p0 (2010-08-18) [i386-mingw32]

That seems a bug.

Ruby Regexp is bundled by Ruby, not depending on 3rd party libraries  
that could have affected it’s compilation

If no other answer shows up that explain this, please create a bug  
report in Ruby Redmine installation:

> **[Ruby Issue Tracking System](https://redmine.ruby-lang.org/)**
>
> Redmine

And provide enough information about your setup, specially if you  
compiled Ruby or downloaded binaries.
