• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#objective-cqt誰得cocoawindowspythonphprubygameguibathyscaphec翻訳omegat計画中(planning stage)frameworktwittertestdombtronvb.netdirectxarduinopreviewerゲームエンジン

OpenTweenのfork


Commit MetaInfo

修訂ac706d62639505b54fc578df7f3b0c61c07d658d (tree)
時間2012-05-06 06:08:33
作者Kimura Youichi <kim.upsilon@bucy...>
CommiterKimura Youichi

Log Message

twitter-text-js由来と思われる正規表現にライセンス表示を追加

Change Summary

差異

--- a/OpenTween/Twitter.cs
+++ b/OpenTween/Twitter.cs
@@ -46,6 +46,25 @@ namespace OpenTween
4646 {
4747 public class Twitter : IDisposable
4848 {
49+ #region Regexp from twitter-text-js
50+
51+ // The code in this region code block incorporates works covered by
52+ // the following copyright and permission notices:
53+ //
54+ // Copyright 2011 Twitter, Inc.
55+ //
56+ // Licensed under the Apache License, Version 2.0 (the "License"); you
57+ // may not use this work except in compliance with the License. You
58+ // may obtain a copy of the License in the LICENSE file, or at:
59+ //
60+ // http://www.apache.org/licenses/LICENSE-2.0
61+ //
62+ // Unless required by applicable law or agreed to in writing, software
63+ // distributed under the License is distributed on an "AS IS" BASIS,
64+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
65+ // implied. See the License for the specific language governing
66+ // permissions and limitations under the License.
67+
4968 //Hashtag用正規表現
5069 private const string LATIN_ACCENTS = @"\xc0-\xd6\xd8-\xf6\xf8-\xff";
5170 private const string NON_LATIN_HASHTAG_CHARS = @"\u0400-\u04ff\u0500-\u0527\u1100-\u11ff\u3130-\u3185\uA960-\uA97F\uAC00-\uD7AF\uD7B0-\uD7FF";
@@ -77,6 +96,9 @@ namespace OpenTween
7796 pth2 +
7897 qry +
7998 ")";
99+
100+ #endregion
101+
80102 delegate void GetIconImageDelegate(PostClass post);
81103 private readonly object LockObj = new object();
82104 private List<long> followerId = new List<long>();