search
HomeWeb Front-endJS TutorialDetailed explanation of JS objects and regular operator examples

Detailed explanation of JS objects and regular operator examples

Mar 10, 2018 pm 04:21 PM
javascriptregularoperator


Array对象用于在单个变量中储存多个值,本文主要和大家分享Array对象用于在单个变量中储存多个值,希望能帮助到大家。

创建Array对象的语法

var arr1 = new Array(); // 创建空数组var arr2 = new Array(5); // 创建长度5 var arr3 = new Array(1,2,3,4,5); 
// 等价于var arr3 = new Array[1,2,3,4,5];var arr4 = new Array("5");// 等价于var arr4 = new Array["5"];
console.log(arr1,arr2,arr3,arr4);// 属性 length 数组的长度console.log(arr2.length);

方法

push/pop
push/pop 对数组末尾添加/删除元素push():向数组的末尾添加一个或更多元素,并返回新的长度
var newLength = arr5.push(6,7,8);
console.log(arr5); //结果:[4,5,6,7,8]pop():删除并返回数组的最后一个元素
var num = arr5.pop();
console.log(arr5.length,num);// 结果:4,8
unshift()/shift()
unshift():向数组的开头添加一个或更多元素,并返回新的长度
var b = arr5.unshift(1,2,3);
console.log(b); //结果:7shift():删除并返回数组的第一个元素
var c = arr5.shift();
console.log(c); //结果:1
sort()
如果调用该方法时没有使用参数,将按字母顺序对数组中的元素进行排序,说的精确点,是按照字符编码的顺序进行排序.要实现这一点,首先应把数组的元素都换成字符串,以便进行比较
例1:<script type="text/javascript">
    var arr = new Array(6);
    arr[0] = "George";
    arr[1] = "John";
    arr[2] = "Thomas";
    arr[3] = "James";
    arr[4] = "Adrew";
    arr[5] = "Martin";

    console.log(arr);
    console.log(arr.sort());</script>结果:
George,John,Thomas,James,Adrew,Martin
Adrew,George,James,John,Martin,Thomas

例2:<script type="text/javascript">var arr = new Array(6);
arr[0] = "10";
arr[1] = "5";
arr[2] = "40";
arr[3] = "25";
arr[4] = "1000";
arr[5] = "1";

console.log(arr);
console.log(arr.sort());</script>结果:
10,5,40,25,1000,1
1,10,1000,25,40,5

例3:<script type="css/javascript">
    var arr = new Array(6);
    arr[0] = 10;
    arr[1] = 5;
    arr[2] = 40;
    arr[3] = 25;
    arr[4] = 1000;
    arr[5] = 1;

    console.log(arr);
    console.log(arr.sort())</script>结果:
10 5 40 25 1000 1
1 5 10 25 40 1000

如果要对上面的数进行倒序排列或者上面的数字都是字符串,然后根据数字大小进行排列,代码如下:

function sortNum(a,b){
    return a-b;
}
arr.sort(sortNum);

或者:
arr.sort(function(a,b){
    return a - b;
});
splice
arrayObject.splice(index,howmany,item1,....,itemX);
说明:splice()方法可删除从index处开始的零个或者多个元素,并且用参数列表声明的一个或多个值来替换哪些被删除的元素,howmany的值与item的数量不需要一定保持一致.
如果从arrayObject中删除了元素,则返回的是含有被删除元素的数组.<!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>Document</title>
        <style type="text/css">
        </style>
    </head>
    <body>

    </body>
    <script type="text/javascript">
        var arr = new Array(5);
        arr[0] = "ds";
        arr[1] = "er";
        arr[2] = "ty";
        arr[3] = "uq";
        arr[4] = "yt";        var array = arr.splice(1,0,"qq","ww");
        console.log(array);
        console.log(arr);    </script> </html>结果:["ds", "qq", "ww", "er", "ty", "uq", "yt"]

JavaScript Math对象

Math对象并不像Date和String那样是对象的类,因此没有构造函数Math(),像Math.sin()这样的函数只是函数,不是某个对象的方法.
你无需创建它,通过把Math作为对象使用就可以调用其所有属性和方法.
<script type="text/javascript">
        // 取π的值
        var pi_value = Math.PI;
        console.log(pi_value);  // 结果:3.141592653589793
        // 求一个数的平方
        var sqrt_value = Math.sqrt(15);
        console.log(sqrt_value);  // 结果:3.872983346207417
        // 求一个数的绝对值
        var abs_value = Math.abs(-5);
        console.log(abs_value);  // 结果:5
        // 向上取整
        console.log(Math.ceil(5.1));  // 6
        console.log(Math.ceil(5.5));  // 6
        console.log(Math.ceil(5.9));  // 6
        console.log(Math.ceil(5));  // 5
        console.log(Math.ceil(-5.1));  // -5
        console.log(Math.ceil(-5.9));  // -5
        // 向下去整 floor(x)
        // 把数四舍五入为最接近的整数 Math.round(x)
        // Math.random() 返回0-1直接的随机数
    </script>

JavaScript Date对象

<script type="text/javascript">
        var date1 = new Date("2016-9-1");        var date2 = new Date("2016-9-30");        // 两个日期相减得到的时间差,单位是毫秒
        var res = date2 - date1;
        console.log(res/1000/3600/24 + 1); //30
        // 从Date对象中,以四位数字返回年份
        var time = date1.getFullYear();
        console.log(time); //2016
        // 从Date对象中返回一个月中的某一天
        var d = date1.getDate();
        date1.setDate(d + 5);
        console.log(date1); //结果:Tue Sep 06 2016 00:00:00 GMT+0800 (CST)
        // 根据世界时,把 Date 对象转换为字符
        var date3 = new Date();
        console.log(date3);  //结果:Fri Mar 09 2018 20:19:46 GMT+0800 (CST)
        console.log(date3.toUTCString()); //结果:Fri, 09 Mar 2018 12:19:46 GMT
    </script>

JavaScript String对象

<script type="text/javascript">
    // anchor()创建HTML锚
    var txt = "hello World";
    console.log(txt.anchor("text"));  // 结果:<a name="text">hello World</a>
    var str="Hello world!"
    console.log(str.length); //结果:12</script>

正则运算符

<!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>Document</title>
        <style type="text/css">
        </style>
    </head>
    <body>

    </body>
    <script type="text/javascript">
        // reg = /正则部分(定义的规则)/正则属性
        // g 全局匹配 加i 就不区分大小写
        var reg = /test/g;        var str = " hellotesthowareTestyoutest";
        console.log(str.match(reg)); // 结果:["test", "test"]
        var reg = /test/gi;
        console.log(str.match(reg)); //结果:["test", "Test", "test"]

        // \d代表数字
        var reg = /\d/g;        var str = "sdafsdgdf15dfbgsd566189safg4ag";
        console.log(str.match(reg)); //结果:["1", "5", "5", "6", "6", "1", "8", "9", "4"]

        // \w代表单词字符:数字 字母 下划线
        var reg = /\w/g;        var str = "dsf457__fgbd_1";
        console.log(str.match(reg)); // 结果:["d", "s", "f", "4", "5", "7", "_", "_", "f", "g", "b", "d", "_", "1"]

        // \.代表除去换行符的任意字符 (\n换行  \t 大空格 \b 退格符 \\代表是一个反斜杠)
        var reg4 = /./g;        var str4 = "\n\teH3_-=+_*/,.`() *&....%$#@!!^&\\";        //结果:[" ", "e", "H", "3", "_", "-", "=", "+", "_", "*", "/", ",", ".", "`", "(", ")", " ", "*", "&", ".", ".", ".", ".", "%", "$", "#", "@", "!", "!", "^", "&", "\"]
        console.log(str4.match(reg4));        //\s只要出现空白就匹配 \S只要不出现空白就匹配
        var reg5 = /\s/g;
        console.log(str4.match(reg5)); //结果: ["↵", "    ", " "]

        //var reg6 = /\w{6,12}/g; 可以作为用户名规则 6-12位
         var reg6 = /\d{2,3}/g;         var str6 = "3409800ru2h404";
         console.log(str6.match(reg6));          //小括号   代表 只匹配 括号中的元素.
         // var reg9 = /(34)|(32)/g
        // var reg9 = /3(4)|3(2)/g = var reg9 = /3[24]/g 他们是等价的
         var  reg9 = /3(4)|3(2)/g;         var str9 = "34876543323752677";
         console.log(str9.match(reg9));         //开头和结尾  只找第一位元素  如果找不到就回返回空
     var reg10 = /^34/g;     var str10 = "434349852342323";
     console.log(str10.match(reg10));     //开头和结尾  只找最后一位元素  如果找不到就回返回空
     var reg10 = /34$/g;     var str10 = "34349852342323";
     console.log(str10.match(reg10));     //开头和结尾  同时用就代表 只找括号中的元素.如果没有返回空.
     var reg10 = /^34$/g;     var str10 = "34";
     console.log(str10.match(reg10));     //限制字符串长度
     var reg10 = /^\d{11}$/g;     var str10 = "34349852342";
     console.log(str10.match(reg10));     // 匹配 3  到 6  长度的字符串 
     var reg10 = /^\d{3,6}$/g;     var str10 = "343498";
     console.log(str10.match(reg10));     //11位 纯数字的电话号码. 1开头 第二位是3-8 之间的数字.

     var reg11 = /^1(3[10379]|4[7]|5[0258]|6[1]|7[378]|8[029])\d{8}/g;     var str11 = "14755123198";
     console.log(str11.match(reg11));     //[a-z]所有的小写字母
     //[A-Z]所有的大写字母

     //邮箱
     //(4-10为单词字符 , 开头必须是字母)@
     //@qq @163. cn  com   
     //XXX@qq.com.cn

    </script></html>

               

JS对象

JavaScript Array对象

Array对象用于在单个变量中储存多个值

创建Array对象的语法

var arr1 = new Array(); // 创建空数组var arr2 = new Array(5); // 创建长度5 var arr3 = new Array(1,2,3,4,5); 
// 等价于var arr3 = new Array[1,2,3,4,5];var arr4 = new Array("5");// 等价于var arr4 = new Array["5"];
console.log(arr1,arr2,arr3,arr4);// 属性 length 数组的长度console.log(arr2.length);

方法

push/pop
push/pop 对数组末尾添加/删除元素push():向数组的末尾添加一个或更多元素,并返回新的长度
var newLength = arr5.push(6,7,8);
console.log(arr5); //结果:[4,5,6,7,8]pop():删除并返回数组的最后一个元素
var num = arr5.pop();
console.log(arr5.length,num);// 结果:4,8
unshift()/shift()
unshift():向数组的开头添加一个或更多元素,并返回新的长度
var b = arr5.unshift(1,2,3);
console.log(b); //结果:7shift():删除并返回数组的第一个元素
var c = arr5.shift();
console.log(c); //结果:1
sort()
如果调用该方法时没有使用参数,将按字母顺序对数组中的元素进行排序,说的精确点,是按照字符编码的顺序进行排序.要实现这一点,首先应把数组的元素都换成字符串,以便进行比较
例1:<script type="text/javascript">
    var arr = new Array(6);
    arr[0] = "George";
    arr[1] = "John";
    arr[2] = "Thomas";
    arr[3] = "James";
    arr[4] = "Adrew";
    arr[5] = "Martin";

    console.log(arr);
    console.log(arr.sort());</script>结果:
George,John,Thomas,James,Adrew,Martin
Adrew,George,James,John,Martin,Thomas

例2:<script type="text/javascript">var arr = new Array(6);
arr[0] = "10";
arr[1] = "5";
arr[2] = "40";
arr[3] = "25";
arr[4] = "1000";
arr[5] = "1";

console.log(arr);
console.log(arr.sort());</script>结果:
10,5,40,25,1000,1
1,10,1000,25,40,5

例3:<script type="css/javascript">
    var arr = new Array(6);
    arr[0] = 10;
    arr[1] = 5;
    arr[2] = 40;
    arr[3] = 25;
    arr[4] = 1000;
    arr[5] = 1;

    console.log(arr);
    console.log(arr.sort())</script>结果:
10 5 40 25 1000 1
1 5 10 25 40 1000

如果要对上面的数进行倒序排列或者上面的数字都是字符串,然后根据数字大小进行排列,代码如下:

function sortNum(a,b){
    return a-b;
}
arr.sort(sortNum);

或者:
arr.sort(function(a,b){
    return a - b;
});
splice
arrayObject.splice(index,howmany,item1,....,itemX);
说明:splice()方法可删除从index处开始的零个或者多个元素,并且用参数列表声明的一个或多个值来替换哪些被删除的元素,howmany的值与item的数量不需要一定保持一致.
如果从arrayObject中删除了元素,则返回的是含有被删除元素的数组.<!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>Document</title>
        <style type="text/css">
        </style>
    </head>
    <body>

    </body>
    <script type="text/javascript">
        var arr = new Array(5);
        arr[0] = "ds";
        arr[1] = "er";
        arr[2] = "ty";
        arr[3] = "uq";
        arr[4] = "yt";        var array = arr.splice(1,0,"qq","ww");
        console.log(array);
        console.log(arr);    </script> </html>结果:["ds", "qq", "ww", "er", "ty", "uq", "yt"]

JavaScript Math对象

Math对象并不像Date和String那样是对象的类,因此没有构造函数Math(),像Math.sin()这样的函数只是函数,不是某个对象的方法.
你无需创建它,通过把Math作为对象使用就可以调用其所有属性和方法.
<script type="text/javascript">
        // 取π的值
        var pi_value = Math.PI;
        console.log(pi_value);  // 结果:3.141592653589793
        // 求一个数的平方
        var sqrt_value = Math.sqrt(15);
        console.log(sqrt_value);  // 结果:3.872983346207417
        // 求一个数的绝对值
        var abs_value = Math.abs(-5);
        console.log(abs_value);  // 结果:5
        // 向上取整
        console.log(Math.ceil(5.1));  // 6
        console.log(Math.ceil(5.5));  // 6
        console.log(Math.ceil(5.9));  // 6
        console.log(Math.ceil(5));  // 5
        console.log(Math.ceil(-5.1));  // -5
        console.log(Math.ceil(-5.9));  // -5
        // 向下去整 floor(x)
        // 把数四舍五入为最接近的整数 Math.round(x)
        // Math.random() 返回0-1直接的随机数
    </script>

JavaScript Date对象

<script type="text/javascript">
        var date1 = new Date("2016-9-1");        var date2 = new Date("2016-9-30");        // 两个日期相减得到的时间差,单位是毫秒
        var res = date2 - date1;
        console.log(res/1000/3600/24 + 1); //30
        // 从Date对象中,以四位数字返回年份
        var time = date1.getFullYear();
        console.log(time); //2016
        // 从Date对象中返回一个月中的某一天
        var d = date1.getDate();
        date1.setDate(d + 5);
        console.log(date1); //结果:Tue Sep 06 2016 00:00:00 GMT+0800 (CST)
        // 根据世界时,把 Date 对象转换为字符
        var date3 = new Date();
        console.log(date3);  //结果:Fri Mar 09 2018 20:19:46 GMT+0800 (CST)
        console.log(date3.toUTCString()); //结果:Fri, 09 Mar 2018 12:19:46 GMT
    </script>

JavaScript String对象

<script type="text/javascript">
    // anchor()创建HTML锚
    var txt = "hello World";
    console.log(txt.anchor("text"));  // 结果:<a name="text">hello World</a>
    var str="Hello world!"
    console.log(str.length); //结果:12</script>

正则运算符

<!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>Document</title>
        <style type="text/css">
        </style>
    </head>
    <body>

    </body>
    <script type="text/javascript">
        // reg = /正则部分(定义的规则)/正则属性
        // g 全局匹配 加i 就不区分大小写
        var reg = /test/g;        var str = " hellotesthowareTestyoutest";
        console.log(str.match(reg)); // 结果:["test", "test"]
        var reg = /test/gi;
        console.log(str.match(reg)); //结果:["test", "Test", "test"]

        // \d代表数字
        var reg = /\d/g;        var str = "sdafsdgdf15dfbgsd566189safg4ag";
        console.log(str.match(reg)); //结果:["1", "5", "5", "6", "6", "1", "8", "9", "4"]

        // \w代表单词字符:数字 字母 下划线
        var reg = /\w/g;        var str = "dsf457__fgbd_1";
        console.log(str.match(reg)); // 结果:["d", "s", "f", "4", "5", "7", "_", "_", "f", "g", "b", "d", "_", "1"]

        // \.代表除去换行符的任意字符 (\n换行  \t 大空格 \b 退格符 \\代表是一个反斜杠)
        var reg4 = /./g;        var str4 = "\n\teH3_-=+_*/,.`() *&....%$#@!!^&\\";        //结果:[" ", "e", "H", "3", "_", "-", "=", "+", "_", "*", "/", ",", ".", "`", "(", ")", " ", "*", "&", ".", ".", ".", ".", "%", "$", "#", "@", "!", "!", "^", "&", "\"]
        console.log(str4.match(reg4));        //\s只要出现空白就匹配 \S只要不出现空白就匹配
        var reg5 = /\s/g;
        console.log(str4.match(reg5)); //结果: ["↵", "    ", " "]

        //var reg6 = /\w{6,12}/g; 可以作为用户名规则 6-12位
         var reg6 = /\d{2,3}/g;         var str6 = "3409800ru2h404";
         console.log(str6.match(reg6));          //小括号   代表 只匹配 括号中的元素.
         // var reg9 = /(34)|(32)/g
        // var reg9 = /3(4)|3(2)/g = var reg9 = /3[24]/g 他们是等价的
         var  reg9 = /3(4)|3(2)/g;         var str9 = "34876543323752677";
         console.log(str9.match(reg9));         //开头和结尾  只找第一位元素  如果找不到就回返回空
     var reg10 = /^34/g;     var str10 = "434349852342323";
     console.log(str10.match(reg10));     //开头和结尾  只找最后一位元素  如果找不到就回返回空
     var reg10 = /34$/g;     var str10 = "34349852342323";
     console.log(str10.match(reg10));     //开头和结尾  同时用就代表 只找括号中的元素.如果没有返回空.
     var reg10 = /^34$/g;     var str10 = "34";
     console.log(str10.match(reg10));     //限制字符串长度
     var reg10 = /^\d{11}$/g;     var str10 = "34349852342";
     console.log(str10.match(reg10));     // 匹配 3  到 6  长度的字符串 
     var reg10 = /^\d{3,6}$/g;     var str10 = "343498";
     console.log(str10.match(reg10));     //11位 纯数字的电话号码. 1开头 第二位是3-8 之间的数字.

     var reg11 = /^1(3[10379]|4[7]|5[0258]|6[1]|7[378]|8[029])\d{8}/g;     var str11 = "14755123198";
     console.log(str11.match(reg11));     //[a-z]所有的小写字母
     //[A-Z]所有的大写字母

     //邮箱
     //(4-10为单词字符 , 开头必须是字母)@
     //@qq @163. cn  com   
     //XXX@qq.com.cn

    </script></html>

相关推荐:

多种创建js对象的方法详细讲述

js对象实例详解(JavaScript对象深度剖析,深度理解js对象)

JavaScript对象深度剖析以及深度理解js对象的实例分享

The above is the detailed content of Detailed explanation of JS objects and regular operator examples. For more information, please follow other related articles on the PHP Chinese website!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
JavaScript in Action: Real-World Examples and ProjectsJavaScript in Action: Real-World Examples and ProjectsApr 19, 2025 am 12:13 AM

JavaScript's application in the real world includes front-end and back-end development. 1) Display front-end applications by building a TODO list application, involving DOM operations and event processing. 2) Build RESTfulAPI through Node.js and Express to demonstrate back-end applications.

JavaScript and the Web: Core Functionality and Use CasesJavaScript and the Web: Core Functionality and Use CasesApr 18, 2025 am 12:19 AM

The main uses of JavaScript in web development include client interaction, form verification and asynchronous communication. 1) Dynamic content update and user interaction through DOM operations; 2) Client verification is carried out before the user submits data to improve the user experience; 3) Refreshless communication with the server is achieved through AJAX technology.

Understanding the JavaScript Engine: Implementation DetailsUnderstanding the JavaScript Engine: Implementation DetailsApr 17, 2025 am 12:05 AM

Understanding how JavaScript engine works internally is important to developers because it helps write more efficient code and understand performance bottlenecks and optimization strategies. 1) The engine's workflow includes three stages: parsing, compiling and execution; 2) During the execution process, the engine will perform dynamic optimization, such as inline cache and hidden classes; 3) Best practices include avoiding global variables, optimizing loops, using const and lets, and avoiding excessive use of closures.

Python vs. JavaScript: The Learning Curve and Ease of UsePython vs. JavaScript: The Learning Curve and Ease of UseApr 16, 2025 am 12:12 AM

Python is more suitable for beginners, with a smooth learning curve and concise syntax; JavaScript is suitable for front-end development, with a steep learning curve and flexible syntax. 1. Python syntax is intuitive and suitable for data science and back-end development. 2. JavaScript is flexible and widely used in front-end and server-side programming.

Python vs. JavaScript: Community, Libraries, and ResourcesPython vs. JavaScript: Community, Libraries, and ResourcesApr 15, 2025 am 12:16 AM

Python and JavaScript have their own advantages and disadvantages in terms of community, libraries and resources. 1) The Python community is friendly and suitable for beginners, but the front-end development resources are not as rich as JavaScript. 2) Python is powerful in data science and machine learning libraries, while JavaScript is better in front-end development libraries and frameworks. 3) Both have rich learning resources, but Python is suitable for starting with official documents, while JavaScript is better with MDNWebDocs. The choice should be based on project needs and personal interests.

From C/C   to JavaScript: How It All WorksFrom C/C to JavaScript: How It All WorksApr 14, 2025 am 12:05 AM

The shift from C/C to JavaScript requires adapting to dynamic typing, garbage collection and asynchronous programming. 1) C/C is a statically typed language that requires manual memory management, while JavaScript is dynamically typed and garbage collection is automatically processed. 2) C/C needs to be compiled into machine code, while JavaScript is an interpreted language. 3) JavaScript introduces concepts such as closures, prototype chains and Promise, which enhances flexibility and asynchronous programming capabilities.

JavaScript Engines: Comparing ImplementationsJavaScript Engines: Comparing ImplementationsApr 13, 2025 am 12:05 AM

Different JavaScript engines have different effects when parsing and executing JavaScript code, because the implementation principles and optimization strategies of each engine differ. 1. Lexical analysis: convert source code into lexical unit. 2. Grammar analysis: Generate an abstract syntax tree. 3. Optimization and compilation: Generate machine code through the JIT compiler. 4. Execute: Run the machine code. V8 engine optimizes through instant compilation and hidden class, SpiderMonkey uses a type inference system, resulting in different performance performance on the same code.

Beyond the Browser: JavaScript in the Real WorldBeyond the Browser: JavaScript in the Real WorldApr 12, 2025 am 12:06 AM

JavaScript's applications in the real world include server-side programming, mobile application development and Internet of Things control: 1. Server-side programming is realized through Node.js, suitable for high concurrent request processing. 2. Mobile application development is carried out through ReactNative and supports cross-platform deployment. 3. Used for IoT device control through Johnny-Five library, suitable for hardware interaction.

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

MinGW - Minimalist GNU for Windows

MinGW - Minimalist GNU for Windows

This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.