Ignore:
Timestamp:
May 29, 2020, 10:45:52 PM (4 years ago)
Author:
coas-nagasima
Message:

Visual Studio 2019 と Bridge.NET でビルドできるよう更新。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • EcnlProtoTool/trunk/webapp/webmrbc/Generator.cs

    r321 r425  
    3030using System.Runtime.InteropServices;
    3131using Bridge;
    32 using Bridge.Text.RegularExpressions;
     32using Bridge.Html5;
    3333
    3434namespace WebMrbc
     
    4747                        this.name_ = name;
    4848                        this.FUNCTION_NAME_PLACEHOLDER_REGEXP_ =
    49                                 new Regex(this.FUNCTION_NAME_PLACEHOLDER_, "g");
     49                                new RegExp(this.FUNCTION_NAME_PLACEHOLDER_, "g");
    5050                }
    5151
     
    120120                                                line = this.scrubNakedValue(line);
    121121                                        }
    122                                         nodes = (node[])nodes.Concat(line);
     122                                        nodes = nodes.Concat(line).ToArray();
    123123                                }
    124124                        }
     
    137137                public string prefixLines(string text, string prefix)
    138138                {
    139                         return prefix + text.Replace(new Regex("(?!\n$)\n"), "\n" + prefix);
     139                        return prefix + text.Replace(new RegExp("(?!\n$)\n"), "\n" + prefix);
    140140                }
    141141
     
    271271                /// </summary>
    272272                public string FUNCTION_NAME_PLACEHOLDER_ = "{leCUI8hutHZI4480Dc}";
    273                 public Regex FUNCTION_NAME_PLACEHOLDER_REGEXP_;
     273                public RegExp FUNCTION_NAME_PLACEHOLDER_REGEXP_;
    274274        }
    275275}
Note: See TracChangeset for help on using the changeset viewer.