-
Notifications
You must be signed in to change notification settings - Fork 16
#21 Added support for embedded directions #23
base: master
Are you sure you want to change the base?
Conversation
String.php
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I prefer to use constant for LRM & co. in the regular expression :-).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The problem here is, that the already defined static constant (LRM, RLM, ARM, etc) cannot be easily included in the regular expression, as they are only integers and regular expression use a \x{codepoint syntax - given the u modifier at the end. So no easy solution for that..
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'#\x{' . dechex(self::LRM) . '}#u', thoughts?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why not :) ill change it accordingly
|
Thanks a lot for this PR \o/. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Set Default Direction to LTR
|
ping? |
|
@boast ping? |
1 similar comment
|
@boast ping? |
Edit by @Hywan: Fix #21.