Ticket #31048

正規表現とマルチバイト文字

오픈 날짜: 2013-03-27 18:12 마지막 업데이트: 2013-04-03 10:08

Reporter:
소유자:
(None)
Type:
Status:
Closed
Component:
MileStone:
(None)
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Duplicate
File:
None
Vote
Score: 0
No votes
0.0% (0/0)
0.0% (0/0)

Details

以下のマクロで、結果が 0 (マッチしない)となる。

str = "要求がタイムアウトしました"
pat = "タイムアウト"
strmatch str pat
messagebox result "result"

また、以下のマクロの実行時に "要求がタイムアウトしました" を受信した場合、結果は 2 となる。

waitregex "(.*)が.イムアウト" "(.*)が..イムアウト"
messagebox result "result"

原因はonig_newでONIG_ENCODING_ASCIIが指定されているため。

Ticket History (3/3 Histories)

2013-03-27 18:12 Updated by: doda
  • New Ticket "正規表現とマルチバイト文字" created
2013-03-27 20:14 Updated by: (del#1144)
댓글 올리기
2013-04-03 10:08 Updated by: doda
  • Resolution Update from None to Duplicate
  • Status Update from Open to Closed
  • Ticket Close date is changed to 2013-04-03 10:08
댓글 올리기

#27846 の事を失念していました。以降そちらで続けますので、このチケットは閉じます。

Attachment File List

No attachments

Edit

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login